找不到gridlayout_v7.apk

时间:2012-10-19 13:47:19

标签: android eclipse

我正在尝试使用按钮在两个活动之间切换我的应用。第一个活动出现了,我可以点击按钮,但随后会弹出一条通知,说“不幸的是, projectname 已停止。”

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

[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 }

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

1 个答案:

答案 0 :(得分:0)

根据this answer,您需要将项目依赖项移除到gridlayout_v7,并将依赖项添加到gridlayout_v7作为" Android"项目属性中的依赖项。这解决了我的问题。