0

我试图让我的应用程序在两个带有按钮的活动之间切换。第一个活动出现了,我可以单击按钮,但随后会弹出一条通知,上面写着“不幸的是,项目名称已停止”。

这是控制台上出现的错误:

[2012-10-18 09:54:46 - gridlayout_v7] Could not find gridlayout_v7.apk!

这是控制台的其余部分发布的内容:

[2012-10-18 09:54:38 - PersonalLibrary] Android Launch!
[2012-10-18 09:54:38 - PersonalLibrary] adb is running normally.
[2012-10-18 09:54:38 - PersonalLibrary] Performing com.balaka.personallibrary.LibraryMenu activity launch
[2012-10-18 09:54:38 - PersonalLibrary] Automatic Target Mode: Preferred AVD 'test' is available on emulator 'emulator-5554'
[2012-10-18 09:54:38 - PersonalLibrary] Uploading PersonalLibrary.apk onto device 'emulator-5554'
[2012-10-18 09:54:39 - PersonalLibrary] Installing PersonalLibrary.apk...
[2012-10-18 09:54:46 - PersonalLibrary] Success!
[2012-10-18 09:54:46 - gridlayout_v7] Could not find gridlayout_v7.apk!
[2012-10-18 09:54:46 - PersonalLibrary] Starting activity com.balaka.personallibrary.LibraryMenu on device emulator-5554
[2012-10-18 09:54:48 - PersonalLibrary] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.balaka.personallibrary/.LibraryMenu }

我试图在网上其他地方找到答案,但没有提到该文件。

4

1 回答 1

0

根据这个答案,您需要删除对 gridlayout_v7 的项目依赖项,并将对 gridlayout_v7 的依赖项添加为项目属性中的“Android”依赖项。这为我解决了问题。

于 2012-11-08T08:52:30.133 回答