when I build a JME3 project and complete the Android deployment option,but it tells me that"Can’t read [E:\Program Files\JME_Workapace\BasicGame${platform.home}\jre\lib\rt.jar]"
the error logs are following:
Deleting: E:\Program Files\JME_Workapace\BasicGame\build\built-jar.properties
deps-jar:
Updating property file: E:\Program Files\JME_Workapace\BasicGame\build\built-jar.properties
compile:
Copying 1 file to E:\Program Files\JME_Workapace\BasicGame\build
Copy libraries to E:\Program Files\JME_Workapace\BasicGame\dist\lib.
To run this application from the command line without Ant, try:
java -jar “E:\Program Files\JME_Workapace\BasicGame\dist\MyGame.jar”
jnlp:
ProGuard, version 4.7
Reading program directory [E:\Program Files\JME_Workapace\BasicGame\dist\lib] (filtered)
Reading program jar [E:\Program Files\JME_Workapace\BasicGame\dist\MyGame.jar]
Reading library jar [E:\Program Files\JME_Workapace\BasicGame${platform.home}\jre\lib\rt.jar]
E:\Program Files\JME_Workapace\BasicGame\nbproject\obfuscate-impl.xml:7: Can’t read [E:\Program Files\JME_Workapace\BasicGame${platform.home}\jre\lib\rt.jar] (No such file or directory)
@normen said:
When deploying to android the build is obfuscated anyway, no need to do it twice.
Android Guide http://developer.android.com/tools/help/proguard.html says: “ProGuard runs only when you build your application in release mode, so you do not have to deal with obfuscated code when you build your application in debug mode. Having ProGuard run is completely optional, but highly recommended.”
So I would understand you that JME always triggers the release build. Is that correct?
@mathias4u said:
Android Guide http://developer.android.com/tools/help/proguard.html says: "ProGuard runs only when you build your application in release mode, so you do not have to deal with obfuscated code when you build your application in debug mode. Having ProGuard run is completely optional, but highly recommended."
So I would understand you that JME always triggers the release build. Is that correct?