Skip to content
csbenz edited this page Dec 27, 2014 · 2 revisions

Hi oli107,

Hijacking the Wiki page to send you a message. First of all, please enable issues in github for this project :) We don't have any way of contacting you otherwise. Your project looks awesome, I'd like to use it, but I'm getting a weird error when adding your maven url to my project:

java.lang.RuntimeException: Unable to start activity ComponentInfo{ch.b3nz.luciditymaterial/ch.b3nz.luciditymaterial.activities.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2198) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2257) at android.app.ActivityThread.access$800(ActivityThread.java:139) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5086) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. at android.support.v7.app.ActionBarActivityDelegate.onCreate(ActionBarActivityDelegate.java:151) at android.support.v7.app.ActionBarActivityDelegateBase.onCreate(ActionBarActivityDelegateBase.java:138) at android.support.v7.app.ActionBarActivity.onCreate(ActionBarActivity.java:123) at com.example.activities.MainActivity.onCreate(MainActivity.java:32) at android.app.Activity.performCreate(Activity.java:5248) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2162)             at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2257)             at android.app.ActivityThread.access$800(ActivityThread.java:139)             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210)             at android.os.Handler.dispatchMessage(Handler.java:102)             at android.os.Looper.loop(Looper.java:136)             at android.app.ActivityThread.main(ActivityThread.java:5086)             at java.lang.reflect.Method.invoke(Native Method)

If I remove your dependency from my build.gradle, the error is gone. Do you have any idea what's happening? Maybe it's because you're using a custom url as repo?

Thanks :)

Clone this wiki locally