Reputation: 608
I asked a similar question earlier and I followed the instructions I was given in the answer. Now I get the android option, which I was not getting earlier, as per the image below
I select the option: Export Android Application after which I get a message that the project I am trying to export is not an Android project. This is really confusing and I took an android development course and the project I am trying to convert to an apk is one of the first i created. The following screenshot is the message I see;
When I click on the browse button all i get is a new window but nothing gets populated in it. I need help/guidance people as I am learning android development and I am still a rookie :(
Upvotes: 1
Views: 845
Reputation: 136
Looks like either:
Right click on project name in Package Explorer > Open Project
Right click on project name in Package Explorer > Properties > Android > "Is Library" checkbox
To view package explorer:
Window > Show View > Package Exporer
To import new project:
New > Project... > Android Project from Existing Code > [Look for root directory of the Android project, should be the root dir containing the
AndroidManifest.xml
file] > Select project to import (if you have the previous step correctly you should only see one) > Select Copy projects into workspace (if you want to create a copy in your workspace folder, otherwise ensure that your project files don't move out of your existing directory) > Finish
If that's not the reason why you are not seeing any projects, please let me know and provide more information (perhaps also a screenshot of your entire IDE with the Java perspective).
This is what the project properties panel should look like:
Upvotes: 0
Reputation: 195
I don't think yours is an Android project but it a Java project. It uses JRE to compile so it is a Java project. You are trying to export Android application from Java project.
Upvotes: 1