Previously encountered problems, in the almighty StackOverflow above found the answer, haha
Original URL: http://stackoverflow.com/questions/18421274/android-could-not-find-android-support-v7-appcompat-apk-error
The answer is as follows:
I follow the Android tutorial on the development site, when I try to join the Action Bar (I have joined the support 2.1+ repository) to run, get the error android-support-v7-appcompat] Could not find android-support-v7-appcompat.apk
!.
The program ran, but the action bar I joined did not appear, and I have read some problem solving methods to make sure I have joined Android-support-v7-appcompat to the library.
What else do I need to add to Bulid path (I need in order and export)?
In addition, forgot to remind me that I have used the clear function, to see the relevant things, found that the removal of the problem, the program can run.
Tags: not sure it has anything to do with this. I joined the "Action_search" in XML and should be automatically joined with AppCompat.
Here's the problem with the output
[2013-08-24 13:19:04-myfirstapp1] Android launch! [2013-08-24 13:19:04-myfirstapp1] adb is running normally. [2013-08-24 13:19:04-myfirstapp1] Performing com.example.myfirstapp1.MainActivity activity launch[2013-08-24 13:19:04-MYFIRSTAPP1] Automatic Target mode:using existing emulator ' emulator-5554 ' running compatible AVD ' AVD1 ' [2013-08-24 13:19:04-myfirstapp1] uploading M yfirstapp1.apk onto device ' emulator-5554 ' [2013-08-24 13:19:04-myfirstapp1] Installing myfirstapp1.apk ... [2013-08-24 13:19:08-myfirstapp1] success! [2013-08-24 13:19:08-android-support-v7-appcompat] Could not find android-support-v7-appcompat.apk! [2013-08-24 13:19:08-myfirstapp1] Starting activity com.example.myfirstapp1.MainActivity on device emulator-5554[2013-08-24 13:19:09-MYFIRSTAPP1] ActivityManager:Starting:Intent {act=android.intent.action.main Cat=[android.intent.category.launcher] cmp= com.example.myfirstapp1/. Mainactivity
Answers to the questions:
1. Remove the wrong project dependencies to Java Build path>projects (your Android library project). Also description "Android" module project settings and Android library you rely on must be listed in "Libraries".
2. Maybe you can remove Android-support-v7-appcompat project from Bulid path. Right-click your project properties-list Item-java Build path-proj Ects-under "Required projects on the build path:" And check "Android-support-v7-appcompat" click "Remove"
3. To prevent the above error, create a library project when the " copy project into work space "
< Span style= "Color:rgb (34,34,34); line-height:19.5px ">4. If your Actionbar Buttons does not work when you use Apppcompat it is possible that you did not correctly use the schema to match the button. If you are using AppCompat you need to apd11+ set
<menu xmlns:android=" http://schemas.android.com/apk/res/android "xmlns:yourapp="/HTTP/ Schemas.android.com/apk/res-auto "><!--This sentence cannot be less---<item android:id=" @+id/action_search "Android:ico n= "@drawable/ic_action_search" android:title= "@string/action_search" yourapp:showasaction= "Ifroom"/> ; ... </menu>
5. I'm having the same problem, and the difference is that my program crashes
Here are the problems that exist
No add Android-support-v4.jar and Android-support-v7-appcompat.jar to Bulid path
no android-support-v7-appcompat.jar in Bulid path
(Project > Properties > Android > Library > Add) Remove rejoin android-support-v7-appcompat to library
Could not find android-support-v7-appcompat.apk!android problem