云端打出的Android apk包安装到手机上后运行,能显示启动图,之后应该打开主页(view/main.html),但是显示白屏,低版本手机显示“不能找到网页”。用chrome的调试工具也发现不了任何页面。
把手机连接到电脑上,在HBuilder上直接点运行是没有问题的。
app的配置信息:
代码结构:
连接上adk输出的错误日志:
E/ActivityManager(1225): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.kfit.Yoududu/io.dcloud.PandoraEntry u=0} from pid 1620
E/AppWidgetHostView(1620): Package name OPPO not found
E/RemoteViews(1620): Package name OPPO not found
E/ActivityManager(1225): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.kfit.Yoududu/io.dcloud.PandoraEntryActivity bnds=[527,733][694,946] u=0} from pid 14736
E/(14736): netstack: STAT_HUB - App com.kfit.Yoududu isn't supported
日志二:
E/SQLiteDatabase(10379): Error inserting _name=com.kfit.Yoududu _pid=14736 _is_sys=0 _is_uped=0
E/SQLiteDatabase(10379): android.database.sqlite.SQLiteConstraintException: column _name is not unique (code 19)
E/SQLiteDatabase(10379): at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method) E/SQLiteDatabase(10379): at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:782)
E/SQLiteDatabase(10379): at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788)
E/SQLiteDatabase(10379): at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86)
E/SQLiteDatabase(10379): at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1469)
E/SQLiteDatabase(10379): at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1339)
E/SQLiteDatabase(10379): at com.tencent.beacon.a.h.a(ProGuard:79)
E/SQLiteDatabase(10379): at com.tencent.beacon.event.a.c(ProGuard:24)
E/SQLiteDatabase(10379): at com.tencent.beacon.event.a$3.run(ProGuard:89)
真爱可可 (作者)
勾选了”解压资源后运行“,我换成“不解压直接运行”还是不行
2015-09-29 17:04
echohi
遇到同样的问题,请问现在解决了吗,如何解决的,感谢
2015-11-21 15:27