Reputation: 1165
I am learning to create Android apps. My device is a Galaxy Note 3. When I run the app I get the error APK path is not specified. I have tried
Upvotes: 1
Views: 3281
Reputation: 153
I got it working. The error occurs because of apk path mismatch. Configuring the apk path as below should get it working.
In your module's .iml file specify the APK_PATH option:
<option name="APK_PATH" value="/build/apk/YourAppName-debug-unaligned.apk" />
Note: Your apk might not be located at /build/apk/. You can physically locate the apk by navigating through your app location and mention the path to that directory here.
Now rebuild your project. It should build and work as expected.
Upvotes: 1
Reputation: 1165
After trying for 6 hours and noticing using Eclipse was working fine. I renamed the .IntelliJIdea12 to generate a new profile. That fixed it.
Upvotes: 1