Error. java.lang.RuntimeException: main$JavaCompileException: ECJ returned errors. ----------
1. ERROR in /root/JavaX-Caches/Temp/1744803557011/main.java (at line 24)
import android.app.Activity;
^^^^^^^
The import android cannot be resolved
----------
2. ERROR in /root/JavaX-Caches/Temp/1744803557011/main.java (at line 25)
import android.widget.*;
^^^^^^^
The import android cannot be resolved
----------
3. ERROR in /root/JavaX-Caches/Temp/1744803557011/main.java (at line 26)
import android.graphics.*;
^^^^^^^
The import android cannot be resolved
----------
4. ERROR in /root/JavaX-Caches/Temp/1744803557011/main.java (at line 27)
import android.app.Activity;
^^^^^^^
The import android cannot be resolved
----------
5. ERROR in /root/JavaX-Caches/Temp/1744803557011/main.java (at line 28)
import android.view.View;
^^^^^^^
The import android cannot be resolved
----------
6. ERROR in /root/JavaX-Caches/Temp/1744803557011/main.java (at line 38)
TextView tv = (new TextView (androidActivity ()));
^^^^^^^^
TextView cannot be resolved to a type
----------
7. ERROR in /root/JavaX-Caches/Temp/1744803557011/main.java (at line 38)
TextView tv = (new TextView (androidActivity ()));
^^^^^^^^
TextView cannot be resolved to a type
----------
8. ERROR in /root/JavaX-Caches/Temp/1744803557011/main.java (at line 38)
TextView tv = (new TextView (androidActivity ()));
^^^^^^^^^^^^^^^
The method androidActivity() from the type main refers to the missing type Activity
----------
9. ERROR in /root/JavaX-Caches/Temp/1744803557011/main.java (at line 56)
androidActivity ().runOnUiThread(r);
^^^^^^^^^^^^^^^
The method androidActivity() from the type main refers to the missing type Activity
----------
10. ERROR in /root/JavaX-Caches/Temp/1744803557011/main.java (at line 60)
static Activity androidActivity() {
^^^^^^^^
Activity cannot be resolved to a type
----------
11. ERROR in /root/JavaX-Caches/Temp/1744803557011/main.java (at line 61)
return (Activity) androidContext_gen();
^^^^^^^^
Activity cannot be resolved to a type
----------
12. ERROR in /root/JavaX-Caches/Temp/1744803557011/main.java (at line 65)
androidActivity().runOnUiThread(new Runnable() { public void run() { try {
^^^^^^^^^^^^^^^
The method androidActivity() from the type main refers to the missing type Activity
----------
13. ERROR in /root/JavaX-Caches/Temp/1744803557011/main.java (at line 66)
androidActivity().setContentView(view);
^^^^^^^^^^^^^^^
The method androidActivity() from the type main refers to the missing type Activity
----------
13 problems (13 errors)
Options: /root/JavaX-Caches/Temp/1744803557011/main.java -cp /root/.javax/x30.jar:/root/.javax/x30.jar -warn:none -source 11 -target 11 -d /root/JavaX-Caches/Temp/1744803557014