AndriannaT
Lurker
Hello,I have to make a Speedometer App. When I try to run it, it appears this message:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.myapplication, PID: 16450
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myapplication/com.example.myapplication.MainActivity}: java.lang.IllegalStateException: getDatabase called recursively
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2913)
I have use in my app getWritabaleDatabase. What the problem may be? Thank you in advance.
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.myapplication, PID: 16450
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myapplication/com.example.myapplication.MainActivity}: java.lang.IllegalStateException: getDatabase called recursively
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2913)
I have use in my app getWritabaleDatabase. What the problem may be? Thank you in advance.