Classpath problem running an Android App
Im trying to run an opensource Android application from within Jebrains, the problem seems to be to do with package hierachy, although when I go to the module settings the src folder is correct when I actually try to run the application ist repeats the package hierachy in the class anme it is trying to find
Starting: Intent { cmp=org.app.mobile/.ui.activities.HomeActivity }
Error type 3
Error: Activity class {org.app.mobile/org.app.mobile.ui.activities.HomeActivity} does not exist.
it seems to be repeating the org.app.mobile part ,
the AndroidManifest.xml fileincludes
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.app.mobile"
....................
<activity android:name=".ui.activities.HomeActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
which seems okay
(Im an exprienced Java developer but this is my fiirst attempt at trying to dosomething on Android)
请先登录再写评论。