Discuz! Board

 

 

Search
Discuz! Board Forum Integration Questions Error Compiling, searched...
View: 905|Reply: 2
go

Error Compiling, searched...

Rank: 1

Post on 2011-10-17 10:45 |All posts
Last edited by omnisource on 2011-10-17 10:48

Ok so when I run "compile.bat tutorial" it gives me an error:


C:\PapayaGameSDK>compile.bat tutorial
Parsing file : projects\tutorial\tutorial.as
Analyzing file : projects\tutorial\tutorial.as
Generating file : projects\tutorial\tutorial.as
Exporting APK...
Exporting Error... The system cannot find the path specified.
Exporting Error... javac: file not found: C:\PapayaGameSDK\out
papaya\firstgame\R.java
Usage: javac <options> <source files>
use -help for a list of possible options
Exporting Error... The system cannot find the path specified.
Exporting Error... The system cannot find the path specified.



But before you reply also note:
1. My Path is correct, I normally program using Eclipse with android sdk.
2. My java is 1.7
3. When I do a fresh install of this sdk and android sdk the compile.bat command will work, but as soon as i run the android sdk manager and download the software packages for my virtual device is when compiling quits working.


Do I need to downgrade my version of java? I see in the readme that it will auto download needed JDK requirements. so I will try deleting java and let the install.bat install it

Rank: 1

Post on 2011-10-17 10:57 |All posts
ok so right after ANOTHER fresh install, it compiles fine. but I cannot run because I have to run android sdk manager to download the packages/create virtual device. but once sdk manager runs/updates, compiling fails to work again:

Here is a copy of when it "works"

C:\PapayaGameSDK>compile.bat tutorial
Parsing file : projects\tutorial\tutorial.as
Analyzing file : projects\tutorial\tutorial.as
Generating file : projects\tutorial\tutorial.as
Exporting APK...

C:\PapayaGameSDK>

Rank: 1

Post on 2011-10-17 11:00 |All posts
Last edited by omnisource on 2011-10-17 11:07

Ok i found out if i type "run tutorial" and then ctrl+alt+delete and close ADB, it will jumpstart the virtual device and work fine


*edit* after initial ctrl+alt+delete to adb, it work everytime now, thanks
Security Q&A Change Security code Change

Archiver|Comsenz Inc.

All time is GMT+8, 2013-5-26 00:43 , Processed in 0.029320 second(s), 10 queries .

Powered by Discuz! X1.5

© 2001-2010 Comsenz Inc.