安装Pebble App崩溃Android应用程序

时间:2015-12-29 04:50:35

标签: android pebble-watch pebble-sdk cloudpebble

我遇到了一个非常奇怪的问题。虽然我的同事可以从他的mac安装Pebble应用程序,我尝试了一个mac,一个ubuntu和cloudpebble,所有这些都在我的安卓应用程序安装过程中崩溃了我的Android应用程序。使用logcat消息如下所示。我在Mac-Pebble Tool v4.0(活动SDK:v3.8.2)中使用了最新的pebble-sdk。代码只是一个简单的hello world代码,它构建正常。 Android应用程序是pebble 2.4.2。

我的同事可以将Mac上的应用程序构建并安装到同一部手机和鹅卵石上!我无法弄清楚是什么导致我的崩溃。有没有人知道这里发生了什么?

12-29 17:39:23.231  12670-12691/? E/PebbleApplication﹕ [PebbleBundle] Failed to parse manifest.
java.io.FileNotFoundException: Cannot find entry for manifest.json
        at com.getpebble.android.common.framework.install.PebbleBundle.getInputStreamForComponent(PebbleBundle.java:61)
        at com.getpebble.android.common.framework.install.PebbleBundle.parseManifest(PebbleBundle.java:71)
        at com.getpebble.android.common.framework.install.app.AppBundle.<init>(AppBundle.java:72)
        at com.getpebble.android.framework.install.app.AppBundleManager.getBundleFromFile(AppBundleManager.java:42)
        at com.getpebble.android.framework.install.app.AppBundleManager.getBundleFromFile(AppBundleManager.java:23)
        at com.getpebble.android.framework.install.PebbleBundleManager.fetchBundleFromUri(PebbleBundleManager.java:87)
        at com.getpebble.android.framework.endpoint.InstallAppEndpoint.addAppSync(InstallAppEndpoint.java:247)
        at com.getpebble.android.framework.endpoint.InstallAppEndpoint$3.doInBackground(InstallAppEndpoint.java:221)
        at com.getpebble.android.common.core.async.PblAsyncTask.doInBackground(PblAsyncTask.java:49)
        at com.getpebble.android.common.core.async.PblAsyncTask.doInBackground(PblAsyncTask.java:18)
        at android.os.AsyncTask$2.call(AsyncTask.java:288)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
        at java.lang.Thread.run(Thread.java:841)
12-29 17:39:23.331  12670-12691/? E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #1
Process: com.getpebble.android:framework, PID: 12670
java.lang.RuntimeException: An error occured while executing doInBackground()
        at android.os.AsyncTask$3.done(AsyncTask.java:300)
        at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
        at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
        at java.util.concurrent.FutureTask.run(FutureTask.java:242)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
        at java.lang.Thread.run(Thread.java:841)
 Caused by: java.lang.IllegalStateException: 'Manifest' cannot be null!
        at com.getpebble.android.common.framework.install.app.AppBundle.<init>(AppBundle.java:74)
        at com.getpebble.android.framework.install.app.AppBundleManager.getBundleFromFile(AppBundleManager.java:42)
        at com.getpebble.android.framework.install.app.AppBundleManager.getBundleFromFile(AppBundleManager.java:23)
        at com.getpebble.android.framework.install.PebbleBundleManager.fetchBundleFromUri(PebbleBundleManager.java:87)
        at com.getpebble.android.framework.endpoint.InstallAppEndpoint.addAppSync(InstallAppEndpoint.java:247)
        at com.getpebble.android.framework.endpoint.InstallAppEndpoint$3.doInBackground(InstallAppEndpoint.java:221)
        at com.getpebble.android.common.core.async.PblAsyncTask.doInBackground(PblAsyncTask.java:49)
        at com.getpebble.android.common.core.async.PblAsyncTask.doInBackground(PblAsyncTask.java:18)
        at android.os.AsyncTask$2.call(AsyncTask.java:288)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
        at java.lang.Thread.run(Thread.java:841)

0 个答案:

没有答案