我正在使用Aviary SDK开发app。当我拨打loadAviaryActivityForImage(ImportDialog.imageFilePath)
时,会显示下一个错误:
06-21 11:53:53.421 4534-4549/com.bigblueclip.picstitch.debug:aviarycds E/AndroidRuntime﹕ FATAL EXCEPTION: IntentService[AviaryCdsService]
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:48)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNotNull(Assert.java:218)
at junit.framework.Assert.assertNotNull(Assert.java:211)
at com.aviary.android.feather.cds.AviaryCdsService.checkProviderExists(AviaryCdsService.java:785)
at com.aviary.android.feather.cds.AviaryCdsService.onHandleIntent(AviaryCdsService.java:302)
at com.aviary.android.feather.cds.AviaryIntentService$ServiceHandler.handleMessage(AviaryIntentService.java:67)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.os.HandlerThread.run(HandlerThread.java:60)
之后,Aviary Activity会运行并给我有效的图像,所以我不知道出了什么问题。这是否意味着问题出在Aviary SDK中,而不是我的程序中?
答案 0 :(得分:2)
gradle构建存在问题。详细地说,我使用" .debug"构建我的应用程序的前缀,但Aviary在这样的配置上工作错误。