You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having problems running Androphsy in Ubuntu 16.04 Eclipse Luna.
I have no problems building the Maven project [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Androspy 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.131 s [INFO] Finished at: 2016-06-20T19:26:32+08:00 [INFO] Final Memory: 7M/59M [INFO] ------------------------------------------------------------------------
But when i tried to run the main class, it gives me this error Error: Could not find or load main class main.java.lk.score.androphsy.main.AndrospyMain
May I know how did you guys build and run this thing in Eclipse? Am I not supposed to import Androphsy as a Maven Project?
The text was updated successfully, but these errors were encountered:
After installing open the eclipse. It will download android packages for the first time.
When installation is completed, open the ANDROPHSY project.
Resolve all the Maven packages.
Now run, it will give the error
Error: Could not find or load main class main.java.lk.score.androphsy.main.AndrospyMain
Problem is in the package name, as package name in all java files are lk.score.androphsy but they are placed in inside the src/main/java/lk/score/androphsy.
So, what I did I moved src/main/java/lk folder to src/lk.
Did the same think for src/test/java/lk/ i.e move the src/lk.
After doing all this. Run the project again. It should run.
"Resolve all the Maven packages.". Could you please specify what you mean by that?. I tried to build this with "maven install". It says successful but the resulting .jar file seems to be corrupt. When I try to build a java application with eclipse it still says Error: Could not find or load main class main.java.lk.score.androphsy.main.AndrospyMain
Any chance to get a compiled binary? Because compiling this with eclipse is a nightmare.
Hi,
I'm having problems running Androphsy in Ubuntu 16.04 Eclipse Luna.
I have no problems building the Maven project
[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Androspy 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.131 s [INFO] Finished at: 2016-06-20T19:26:32+08:00 [INFO] Final Memory: 7M/59M [INFO] ------------------------------------------------------------------------
But when i tried to run the main class, it gives me this error
Error: Could not find or load main class main.java.lk.score.androphsy.main.AndrospyMain
May I know how did you guys build and run this thing in Eclipse? Am I not supposed to import Androphsy as a Maven Project?
The text was updated successfully, but these errors were encountered: