Hello,
So, I have this app that was running like a charm in previous releases of Android Studio. But after I upgraded to Studio's latest release android-studio-bundle-141.2135290-windows, The APP has stopped working.
Here are the issues now.
1. When I enter Run Under "Edit Configuration" Window I get "No Main Class Specified". My App never had a main class. So why it was working fine now?
2. When I still click the Run, It says "Invalid Configuration", but I attempt to ignore that and continue running, then it gives following set of errors. I have downloaded all SDK Manager Packages and JDK is properly installed. Gradle is also installed. Not sure why below errors are coming. Any Idea?
Information:Using javac 1.8.0_45 to compile java sources
Information:java: Errors occurred while compiling module 'QuizApp'
Information:8/18/2015 9:19 PM - Compilation completed with 100 errors and 0 warnings in 2s 689ms
C:\mobile\AndroidQuizApp\QuizApp\src\com\androidgiri\quizapp\SetLevelActivity.java
Error
3, 19) java: package android.app does not exist
Error
4, 18) java: package android.os does not exist
Error
5, 20) java: package android.view does not exist
Error
6, 25) java: package android.view.View does not exist
Error
7, 22) java: package android.widget does not exist
Error
8, 22) java: package android.widget does not exist
Error
11, 39) java: cannot find symbol
symbol: class Activity
Error
11, 59) java: cannot find symbol
symbol: class OnClickListener
Error
13, 9) java: cannot find symbol
symbol: class RadioButton
location: class com.androidgiri.quizapp.SetLevelActivity
Error
14, 9) java: cannot find symbol
symbol: class RadioButton
location: class com.androidgiri.quizapp.SetLevelActivity
Error
15, 9) java: cannot find symbol
symbol: class RadioButton
location: class com.androidgiri.quizapp.SetLevelActivity
Error
18, 33) java: cannot find symbol
symbol: class Bundle
location: class com.androidgiri.quizapp.SetLevelActivity
Error
38, 29) java: cannot find symbol
symbol: class View
location: class com.androidgiri.quizapp.SetLevelActivity
Error
17, 9) java: method does not override or implement a method from a supertype
Error
19, 17) java: cannot find symbol
symbol: variable super
location: class com.androidgiri.quizapp.SetLevelActivity
Error
20, 33) java: package R does not exist
Error
22, 17) java: cannot find symbol
symbol: class Button
location: class com.androidgiri.quizapp.SetLevelActivity
Error
22, 40) java: cannot find symbol
symbol: class Button
location: class com.androidgiri.quizapp.SetLevelActivity
So, I have this app that was running like a charm in previous releases of Android Studio. But after I upgraded to Studio's latest release android-studio-bundle-141.2135290-windows, The APP has stopped working.
Here are the issues now.
1. When I enter Run Under "Edit Configuration" Window I get "No Main Class Specified". My App never had a main class. So why it was working fine now?
2. When I still click the Run, It says "Invalid Configuration", but I attempt to ignore that and continue running, then it gives following set of errors. I have downloaded all SDK Manager Packages and JDK is properly installed. Gradle is also installed. Not sure why below errors are coming. Any Idea?
Information:Using javac 1.8.0_45 to compile java sources
Information:java: Errors occurred while compiling module 'QuizApp'
Information:8/18/2015 9:19 PM - Compilation completed with 100 errors and 0 warnings in 2s 689ms
C:\mobile\AndroidQuizApp\QuizApp\src\com\androidgiri\quizapp\SetLevelActivity.java
Error
3, 19) java: package android.app does not existError
4, 18) java: package android.os does not existError
5, 20) java: package android.view does not existError
6, 25) java: package android.view.View does not existError
7, 22) java: package android.widget does not existError
8, 22) java: package android.widget does not existError
11, 39) java: cannot find symbolsymbol: class Activity
Error
11, 59) java: cannot find symbolsymbol: class OnClickListener
Error
13, 9) java: cannot find symbolsymbol: class RadioButton
location: class com.androidgiri.quizapp.SetLevelActivity
Error
14, 9) java: cannot find symbolsymbol: class RadioButton
location: class com.androidgiri.quizapp.SetLevelActivity
Error
15, 9) java: cannot find symbolsymbol: class RadioButton
location: class com.androidgiri.quizapp.SetLevelActivity
Error
18, 33) java: cannot find symbolsymbol: class Bundle
location: class com.androidgiri.quizapp.SetLevelActivity
Error
38, 29) java: cannot find symbolsymbol: class View
location: class com.androidgiri.quizapp.SetLevelActivity
Error
17, 9) java: method does not override or implement a method from a supertypeError
19, 17) java: cannot find symbolsymbol: variable super
location: class com.androidgiri.quizapp.SetLevelActivity
Error
20, 33) java: package R does not existError
22, 17) java: cannot find symbolsymbol: class Button
location: class com.androidgiri.quizapp.SetLevelActivity
Error
22, 40) java: cannot find symbolsymbol: class Button
location: class com.androidgiri.quizapp.SetLevelActivity