找不到gridlayout_v7.apk [英] Could not find gridlayout_v7.apk

查看:386
本文介绍了找不到gridlayout_v7.apk的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图与按键两种活动之间我的应用程序切换。第一个活动来了,我可以按一下按钮,但随后通知弹出,说:不幸的是,项目名称的已经停止了。

I'm trying to make my app switch between two activities with buttons. The first activity comes up and I can click on the button, but then a notification pops up that says "Unfortunately, projectname has stopped."

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

This is the error that comes up on the console:

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

这是什么职位控制台的其余部分:

This is what the rest of the console posts:

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

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

I've tried to find answers others places online but there is no mention of the file.

推荐答案

根据这个答案,您需要删除的项目依赖于gridlayout_v7并添加依赖性gridlayout_v7在项目属性的Android的依赖。这解决了我的问题。

According to this answer, you need to remove the project dependency to gridlayout_v7 and add the dependency to gridlayout_v7 as an "Android" dependency in project properties. That solved the problem for me.

这篇关于找不到gridlayout_v7.apk的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆