question

virtuos avatar image
virtuos asked

I can't run the HomeEmulator

I downloaded the new device sdk, but I haven't a new device, so I installed the AmazonPlatform.apk and the HomeEmulator.apk on my devices(kindle fire 7, kindle fire hdx 7, kindle fire hdx 8.9). When I run the HomeEmulator app, it will crash. Please give me some suggestions? Logs: V/DoNotDisturb(774): Top component: com.tyto.home/com.tyto.home.ui.HomeActivity E/AndroidRuntime(3537): FATAL EXCEPTION: main E/AndroidRuntime(3537): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tyto.home/com.tyto.home.ui.HomeActivity}: android.view.InflateException: Binary XML file line #14: Error inflating class amazon.widget.SidePanelLayout E/AndroidRuntime(3537): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2232) E/AndroidRuntime(3537): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2286) E/AndroidRuntime(3537): at android.app.ActivityThread.access$600(ActivityThread.java:149) E/AndroidRuntime(3537): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1248) E/AndroidRuntime(3537): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime(3537): at android.os.Looper.loop(Looper.java:151) E/AndroidRuntime(3537): at android.app.ActivityThread.main(ActivityThread.java:5185) E/AndroidRuntime(3537): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(3537): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime(3537): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) E/AndroidRuntime(3537): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) E/AndroidRuntime(3537): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(3537): Caused by: android.view.InflateException: Binary XML file line #14: Error inflating class amazon.widget.SidePanelLayout E/AndroidRuntime(3537): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:698) E/AndroidRuntime(3537): at android.view.LayoutInflater.inflate(LayoutInflater.java:466) E/AndroidRuntime(3537): at android.view.LayoutInflater.inflate(LayoutInflater.java:396) E/AndroidRuntime(3537): at android.view.LayoutInflater.inflate(LayoutInflater.java:352) E/AndroidRuntime(3537): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:271) E/AndroidRuntime(3537): at android.app.Activity.setContentView(Activity.java:1911) E/AndroidRuntime(3537): at com.tyto.home.ui.HomeActivity.onCreate(HomeActivity.java:70) E/AndroidRuntime(3537): at android.app.Activity.performCreate(Activity.java:5158) E/AndroidRuntime(3537): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080) E/AndroidRuntime(3537): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2186) E/AndroidRuntime(3537): ... 11 more E/AndroidRuntime(3537): Caused by: java.lang.ClassNotFoundException: Didn't find class "amazon.widget.SidePanelLayout" on path: /data/app/com.tyto.home-1.apk:/system/app/MetricsApi-2037410.apk:/system/app/com.amazon.dp.logger.apk E/AndroidRuntime(3537): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65) E/AndroidRuntime(3537): at java.lang.ClassLoader.loadClass(ClassLoader.java:501) E/AndroidRuntime(3537): at java.lang.ClassLoader.loadClass(ClassLoader.java:461) E/AndroidRuntime(3537): at android.view.LayoutInflater.createView(LayoutInflater.java:552) E/AndroidRuntime(3537): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687) E/AndroidRuntime(3537): ... 20 more W/ActivityManager(774): Force finishing activity com.tyto.home/.ui.HomeActivity D/SoftkeyBarService(896): ### intercept Application Error: com.tyto.home[b][/b]
fire phone
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Moved this thread to correct Forum
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Kevin@Amazon avatar image
Kevin@Amazon answered
Hi Virtuos, The logs here would seem to indicate you are trying to run some of the sample apps found in the FirePhone SDK. Note that these samples require the runtime found only on the actual fire phone device. The only exceptions to this are the side panel and app widgets - these can be tested with the API Simulator tool. You can find more on the API Simulator tool here: https://developer.amazon.com/public/solutions/devices/fire-phone/docs/using-the-api-simulator-tool
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.