Chriss Angel
New Member
- Joined
- Jun 7, 2008
- Messages
- 41
- Reaction score
- 1
Hello community of OTLand: D
Finally I could compile the apk but ... but it can not be 100% when it is installed it does not have the data and when using apk analizer it does not have the data and other things that it should have, I would like to know if someone could help me with What I need to make it look good
I attach the apk that I compiled
OTClient-debug.apk
Finally I could compile the apk but ... but it can not be 100% when it is installed it does not have the data and when using apk analizer it does not have the data and other things that it should have, I would like to know if someone could help me with What I need to make it look good
I attach the apk that I compiled
OTClient-debug.apk
Code:
D:\otclient-mobile_port\android>compile_android_windows.bat
D:\otclient-mobile_port\android>cd ..
D:\otclient-mobile_port>mkdir build_android
Ya existe el subdirectorio o el archivo build_android.
D:\otclient-mobile_port>cd build_android
D:\otclient-mobile_port\build_android>cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAI
N_FILE=../android/android.toolchain.cmake -DANDROID_ABI=armeabi-v7a -DANDROID_NA
TIVE_API_LEVEL=android-16 -DANDROID_TOOLCHAIN_NAME=arm-linux-androideabi-4.6 ..
CMake Deprecation Warning at C:/CMake/share/cmake-3.12/Modules/CMakeForceCompile
r.cmake:69 (message):
The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set
CMAKE_C_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
android/android.toolchain.cmake:1169 (CMAKE_FORCE_C_COMPILER)
build_android/CMakeFiles/3.12.1/CMakeSystem.cmake:6 (include)
CMakeLists.txt:2 (project)
CMake Deprecation Warning at C:/CMake/share/cmake-3.12/Modules/CMakeForceCompile
r.cmake:83 (message):
The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set
CMAKE_CXX_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
android/android.toolchain.cmake:1181 (CMAKE_FORCE_CXX_COMPILER)
build_android/CMakeFiles/3.12.1/CMakeSystem.cmake:6 (include)
CMakeLists.txt:2 (project)
CMake Error: CMake was unable to find a build program corresponding to "Unix Mak
efiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a differen
t build tool.
-- Configuring incomplete, errors occurred!
See also "D:/otclient-mobile_port/build_android/CMakeFiles/CMakeOutput.log".
D:\otclient-mobile_port\build_android>make
make: *** No targets specified and no makefile found. Stop.
D:\otclient-mobile_port\build_android>cd ../
D:\otclient-mobile_port>xcopy /E /Y libs android\project\libs
libs\arm64-v8a\libotclient.so
libs\armeabi\libotclient.so
libs\armeabi-v7a\libotclient.so
libs\mips\libotclient.so
libs\mips64\libotclient.so
libs\x86\libotclient.so
libs\x86_64\libotclient.so
7 archivo(s) copiado(s)
D:\otclient-mobile_port>cd android\project
D:\otclient-mobile_port\android\project>call android update project -p . --name
OTClient --target android-16
Updated project.properties
Updated local.properties
Updated file D:\otclient-mobile_port\android\project\build.xml
Updated file D:\otclient-mobile_port\android\project\proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.
Buildfile: D:\otclient-mobile_port\android\project\build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 25.2.5
[checkenv] Installed at C:\ProgramData\Microsoft\AndroidSDK\25
-setup:
[echo] Project Name: OTClient
[gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
[getbuildtools] Using latest Build Tools: 25.0.3
[echo] Resolving Build Target for OTClient...
[gettarget] Project Target: Android 4.1.2
[gettarget] API level: 16
[echo] ----------
[echo] Creating output directories if needed...
[echo] ----------
[echo] Resolving Dependencies for OTClient...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Found Deleted Target File
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] No need to generate new BuildConfig.
-pre-compile:
-compile:
[javac] Compiling 1 source file to D:\otclient-mobile_port\android\project\b
in\classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed
in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed
in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use
-Xlint:-options.
[javac] 3 warnings
-post-compile:
-obfuscate:
-dex:
[dex] input: D:\otclient-mobile_port\android\project\bin\classes
[dex] Found Deleted Target File
[dex] Converting compiled files and external libraries into D:\otclient-mo
bile_port\android\project\bin\classes.dex...
-crunch:
[crunch] Crunching PNG Files in source dir: D:\otclient-mobile_port\android\p
roject\res
[crunch] To destination dir: D:\otclient-mobile_port\android\project\bin\res
[crunch] Crunched 0 PNG files to update cache
-package-resources:
[aapt] Found Deleted Target File
[aapt] Creating full resource package...
[aapt] Warning: AndroidManifest.xml already defines debuggable (in http://s
chemas.android.com/apk/res/android); using existing value in manifest.
-package:
[apkbuilder] Found Deleted Target File
[apkbuilder] Creating OTClient-debug-unaligned.apk and signing it with a debug k
ey...
-post-package:
-do-debug:
[zipalign] Running zip align on final apk...
[echo] Debug Package: D:\otclient-mobile_port\android\project\bin\OTClient-
debug.apk
[propertyfile] Updating property file: D:\otclient-mobile_port\android\project\b
in\build.prop
[propertyfile] Updating property file: D:\otclient-mobile_port\android\project\b
in\build.prop
[propertyfile] Updating property file: D:\otclient-mobile_port\android\project\b
in\build.prop
[propertyfile] Updating property file: D:\otclient-mobile_port\android\project\b
in\build.prop
-post-build:
debug:
BUILD SUCCESSFUL
Total time: 27 seconds
Success
D:\otclient-mobile_port\android\project\bin>