ProjectDir="D:\DelphiXE11-DATASNAP\MYPROJTEST"
SDKAaptPath="V:\DelphiXE11\PlatformSDKs\android-sdk-windows\build-tools\22.0.1\aapt.exe"
SDKApiLevelPath="V:\DelphiXE11\PlatformSDKs\android-sdk-windows\platforms\android-25\android.jar"
JavaDxPath="V:\DelphiXE11\PlatformSDKs\android-sdk-windows\build-tools\22.0.1\dx.bat"
JavaDxJarPath=V:\DelphiXE11\PlatformSDKs\android-sdk-windows\build-tools\22.0.1\lib\dx.jar
JDKPath="C:\Program Files\Java\jdk1.8.0_66"\bin
JDKPath1_7="C:\Program Files\java\jdk1.7.0_71\bin"
OutputPath=D:\DelphiXE11-DATASNAP\Android\tokyo\Release\classes.dex
APKPath=D:\DelphiXE11-DATASNAP\Android\tokyo\Release\myappcloud\bin\myappcloud.apk
Create R.java - com.alcinoe
"V:\DelphiXE11\PlatformSDKs\android-sdk-windows\build-tools\22.0.1\aapt.exe" package -f -m -M D:\DelphiXE11-DATASNAP\MYPROJTEST\Android\libraries\com.alcinoe\AndroidManifest.xml -I "V:\DelphiXE11\PlatformSDKs\android-sdk-windows\platforms\android-25\android.jar" -S "D:\DelphiXE11-DATASNAP\MYPROJTEST"\android\res -J "D:\DelphiXE11-DATASNAP\MYPROJTEST"\android\tmp\src --auto-add-overlay --output-text-symbols "D:\DelphiXE11-DATASNAP\MYPROJTEST"\android\
Compile R.java into R$ classes - com.alcinoe
"C:\Program Files\java\jdk1.7.0_71\bin"\javac -d "D:\DelphiXE11-DATASNAP\MYPROJTEST"\android\tmp\obj "D:\DelphiXE11-DATASNAP\MYPROJTEST"\android\tmp\src\com\alcinoe\*.java
Build a classes.dex that include the R$ classes
call "V:\DelphiXE11\PlatformSDKs\android-sdk-windows\build-tools\22.0.1\dx.bat" --dex --output="D:\DelphiXE11-DATASNAP\MYPROJTEST"\android\tmp\classes.dex "D:\DelphiXE11-DATASNAP\MYPROJTEST"\android\tmp\obj
Merge the classes.dex
"C:\Program Files\Java\jdk1.8.0_66"\bin\java -cp V:\DelphiXE11\PlatformSDKs\android-sdk-windows\build-tools\22.0.1\lib\dx.jar com.android.dx.merge.DexMerger "D:\DelphiXE11-DATASNAP\MYPROJTEST"\android\tmp\final_classes.dex "D:\DelphiXE11-DATASNAP\MYPROJTEST"\android\tmp\classes.dex D:\DelphiXE11-DATASNAP\Android\tokyo\Release\classes.dex
Merged dex A (10 defs/6,5KiB) with dex B (2686 defs/2706,1KiB). Result is 2696 defs/3269,3KiB. Took 0,3s
Move the classes.dex
1 file copiati.
remove the tmp dir
R.txt - You can compare against the output of:
"V:\DelphiXE11\PlatformSDKs\android-sdk-windows\build-tools\22.0.1\aapt.exe" dump resources D:\DelphiXE11-DATASNAP\Android\tokyo\Release\myappcloud\bin\myappcloud.apk
int attr BlueBGTextViewStyle 0x7f010000
int attr alfloatingToolbarCloseDrawable 0x7f010001
int attr alfloatingToolbarForegroundColor 0x7f010002
int attr alfloatingToolbarItemBackgroundBorderlessDrawable 0x7f010003
int attr alfloatingToolbarItemBackgroundDrawable 0x7f010004
int attr alfloatingToolbarOpenDrawable 0x7f010005
int attr alfloatingToolbarPopupBackgroundDrawable 0x7f010006
int attr alfloatingToolbarStyle 0x7f010007
int color al_background_floating_material_dark 0x7f040004
int color al_background_floating_material_light 0x7f040005
int color al_foreground_material_dark 0x7f040000
int color al_foreground_material_light 0x7f040001
int color al_material_grey_800 0x7f040006
int color al_ripple_material_dark 0x7f040007
int color al_ripple_material_light 0x7f040008
int color al_secondary_text_default_material_dark 0x7f040003
int color al_secondary_text_default_material_light 0x7f040002
int color al_secondary_text_material_dark 0x7f040009
int color al_secondary_text_material_light 0x7f04000a
int dimen al_content_rect_bottom_clip_allowance 0x7f050011
int dimen al_disabled_alpha_material_dark 0x7f050001
int dimen al_disabled_alpha_material_light 0x7f050000
int dimen al_floating_toolbar_height 0x7f050004
int dimen al_floating_toolbar_horizontal_margin 0x7f05000f
int dimen al_floating_toolbar_maximum_overflow_height 0x7f05000e
int dimen al_floating_toolbar_menu_button_minimum_width 0x7f05000b
int dimen al_floating_toolbar_menu_button_side_padding 0x7f050007
int dimen al_floating_toolbar_menu_image_button_vertical_padding 0x7f050006
int dimen al_floating_toolbar_menu_image_button_width 0x7f050005
int dimen al_floating_toolbar_minimum_overflow_height 0x7f05000d
int dimen al_floating_toolbar_overflow_image_button_width 0x7f050008
int dimen al_floating_toolbar_overflow_side_padding 0x7f050009
int dimen al_floating_toolbar_preferred_width 0x7f05000c
int dimen al_floating_toolbar_text_size 0x7f05000a
int dimen al_floating_toolbar_vertical_margin 0x7f050010
int dimen al_highlight_alpha_material_dark 0x7f050003
int dimen al_highlight_alpha_material_light 0x7f050002
int drawable al_floating_popup_background_dark 0x7f020000
int drawable al_floating_popup_background_light 0x7f020001
int drawable al_ic_ab_back_material_dark 0x7f020002
int drawable al_ic_ab_back_material_light 0x7f020003
int drawable al_ic_menu_moreoverflow_material_dark 0x7f020004
int drawable al_ic_menu_moreoverflow_material_light 0x7f020005
int drawable al_item_background_borderless_material_dark 0x7f020006
int drawable al_item_background_borderless_material_light 0x7f020007
int drawable al_item_background_material_dark 0x7f020008
int drawable al_item_background_material_light 0x7f020009
int drawable ic_launcher 0x7f02000a
int drawable text_select_handle_left_mtrl_alpha 0x7f02000b
int drawable text_select_handle_middle_mtrl_alpha 0x7f02000c
int drawable text_select_handle_right_mtrl_alpha 0x7f02000d
int id al_floating_toolbar_menu_item_image_button 0x7f060000
int layout al_floating_popup_close_overflow_button 0x7f030000
int layout al_floating_popup_container 0x7f030001
int layout al_floating_popup_menu_button 0x7f030002
int layout al_floating_popup_menu_image_button 0x7f030003
int layout al_floating_popup_open_overflow_button 0x7f030004
int layout al_floating_popup_overflow_image_list_item 0x7f030005
int layout al_floating_popup_overflow_list_item 0x7f030006
int string al_floating_toolbar_close_overflow_description 0x7f070005
int string al_floating_toolbar_open_overflow_description 0x7f070004
int string al_menu_delete_shortcut_label 0x7f070003
int string al_menu_enter_shortcut_label 0x7f070002
int string al_menu_space_shortcut_label 0x7f070001
int string al_prepend_shortcut_label 0x7f070000
int style AppTheme 0x7f080002
int style AppThemeEditTextStyle 0x7f080001
int style BlueBGTextView 0x7f080000
int style al_floating_toolbar_dark 0x7f080003
int style al_floating_toolbar_light 0x7f080004
int[] styleable alfloatingToolbar { 0x7f010001, 0x7f010002, 0x7f010003, 0x7f010004, 0x7f010005, 0x7f010006, 0x7f010007 }
int styleable alfloatingToolbar_alfloatingToolbarCloseDrawable 0
int styleable alfloatingToolbar_alfloatingToolbarForegroundColor 1
int styleable alfloatingToolbar_alfloatingToolbarItemBackgroundBorderlessDrawable 2
int styleable alfloatingToolbar_alfloatingToolbarItemBackgroundDrawable 3
int styleable alfloatingToolbar_alfloatingToolbarOpenDrawable 4
int styleable alfloatingToolbar_alfloatingToolbarPopupBackgroundDrawable 5
int styleable alfloatingToolbar_alfloatingToolbarStyle 6
Finished
Connect with Us