ODK Collect branch does not run on Android Studio


(Shirley Chen) #1

When trying to run the ODK Collect App v1.17.x in Android Studio, I get an error:
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.odk.collect.android/org.odk.collect.android.activities.MainMenuActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

I was wondering where I could solve this issue. Thanks!


(Grzegorz Orczykowski) #2

Hi @Shirley_Chen

Do you use our original master branch or maybe you have edited something?
What version of Android Studio do you use?
Did you try to clean/rebuild the project? Build -> Clean Project or Build -> Rebuild Project?


(Mwaka) #3

Build -> Clean Project worked for me..
see if the JDK path is correct as well