I have an Android project developed on Eclipse (GNU/Linux) that I last touched half a year ago. I am trying to import the project into Eclipse 3.6 on Windows (with ADT installed) installed using File -> Import Project in Eclipse. When the project is imported, I see the following error twice on the console:
[2010-12-10 02:17:12 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Unable to read C:\Program Files\Android\android-sdk-windows\AndroidManifest.xml: java.io.FileNotFoundException: C:\Program Files\Android\android-sdk-windows\AndroidManifest.xml (The system cannot find the file specified)
Why is Eclipse looking for AndroidManifest.xml
on the Android SDK path? The file actually seems to be in the project's directory. How do I fix this problem and get the project to compile?
Well, do you have an AndroidManifest. xml file within your project? Try: Click on your project -> Refresh (F5) -> Go to "Project" in the menu bar -> Clean (and clean the project). If all else fails, restart eclipse.
Every project in Android includes a Manifest XML file, which is AndroidManifest. xml, located in the root directory of its project hierarchy.
Every app project must have an AndroidManifest. xml file (with precisely that name) at the root of the project source set. The manifest file describes essential information about your app to the Android build tools, the Android operating system, and Google Play.
The Android manifest file helps to declare the permissions that an app must have to access data from other apps. The Android manifest file also specifies the app's package name that helps the Android SDK while building the app.
A simple solution is to either reimport the AndroidManifest.xml file or make a change to the file and save it. This worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With