mirror of
				https://github.com/edubart/otclient.git
				synced 2025-11-04 04:36:23 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			543 B
		
	
	
	
		
			Batchfile
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			543 B
		
	
	
	
		
			Batchfile
		
	
	
	
	
	
cd ..
 | 
						|
mkdir build_android 
 | 
						|
cd build_android
 | 
						|
 | 
						|
cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=../android/android.toolchain.cmake -DANDROID_ABI=armeabi-v7a -DANDROID_NATIVE_API_LEVEL=android-16 -DANDROID_TOOLCHAIN_NAME=arm-linux-androideabi-4.6 ..
 | 
						|
make
 | 
						|
 | 
						|
cd ../
 | 
						|
 | 
						|
ECHO D|xcopy /E /Y %ANDROID_NDK%\libraries\lib\libSDL2.so android\project\libs\armeabi-v7a
 | 
						|
xcopy /E /Y libs android\project\libs
 | 
						|
 | 
						|
cd android\project
 | 
						|
 | 
						|
call android update project -p . --name OTClientMob --target android-16 
 | 
						|
call ant debug
 | 
						|
 | 
						|
cd bin
 | 
						|
adb install -r OTClientMob-debug.apk |