I'm trying to merging classes.dex using build.bat and have a problem:
Compiling the Java Sources
javac: file not found: src\com\dpfaragir\DPFEditText.java Usage: javac <options> use -help for a list of possible options
Creating jar containing the new classes
output\classes\com : no such file or directory
Converting from jar to dex...
The device is not ready.
Merging dex files
Error: Could not find or load main class com.android.dx.merge.DexMerger Tidying up
The system cannot find the path specified. The system cannot find the path specified. The system cannot find the file specified. Could Not Find c:\Delphi Components\DPFAndroidNativeComponents\JavaClasses\outpu t\dex\test_classes.dex
Now we have the end result, which is output\dex\classes.dex
The ANDROID and EMBO_DEX variables are set correctly.
The file DPFEditText.java is missing and needs to be added to the source distribution.
Hope this will be sorted out quickly. This is great work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi i have an error in build.bat
i make the step set JAVA="C:\Program Files\Java\jdk1.7.0_25\bin" to the build.bat
but still have an error in the line :
%JAVA%\javac -source 1.6 -target 1.6 -cp %DX_LIB%\dx.jar com.android.dx.merge.DexMerger %PROJ_DIR%\output\dex\classes.dex %PROJ_DIR%\output\dex\test_classes.dex %EMBO_DEX%
please help me.
Thank you .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to merging classes.dex using build.bat and have a problem:
Compiling the Java Sources
javac: file not found: src\com\dpfaragir\DPFEditText.java
Usage: javac <options>
use -help for a list of possible options
Creating jar containing the new classes
output\classes\com : no such file or directory
Converting from jar to dex...
The device is not ready.
Merging dex files
Error: Could not find or load main class com.android.dx.merge.DexMerger
Tidying up
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the file specified.
Could Not Find c:\Delphi Components\DPFAndroidNativeComponents\JavaClasses\outpu
t\dex\test_classes.dex
Now we have the end result, which is output\dex\classes.dex
The ANDROID and EMBO_DEX variables are set correctly.
The file DPFEditText.java is missing and needs to be added to the source distribution.
Hope this will be sorted out quickly. This is great work.
Hi Anthony
Fixed.
Thank you for feedback.
Regards
Also...
If anyone is having trouble with the build.bat, getting a "'javac' is not recognized as an internal or external command"
You need to set your JAVA directory, add
set JAVA="C:\Program Files\Java\jdk1.7.0_25\bin" to the build.bat
and then locate the javac and jar calls and make them
%JAVA%\javac and %JAVA%\jar
Hi Tyson
Thank you for your good information.
Regards
hi i have an error in build.bat
i make the step set JAVA="C:\Program Files\Java\jdk1.7.0_25\bin" to the build.bat
but still have an error in the line :
%JAVA%\javac -source 1.6 -target 1.6 -cp %DX_LIB%\dx.jar com.android.dx.merge.DexMerger %PROJ_DIR%\output\dex\classes.dex %PROJ_DIR%\output\dex\test_classes.dex %EMBO_DEX%
please help me.
Thank you .
I tried :
%JAVA%\javac -cp %DX_LIB%\dx.jar com.android.dx.merge.DexMerger %PROJ_DIR%\output\dex\classes.dex %PROJ_DIR%\output\dex\test_classes.dex %EMBO_DEX%
but ... no interest