Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Wed Mar 29, 2017 11:09 am

All times are UTC




Post new topic  Reply to topic  [ 348 posts ]  Go to page Previous 114 15 16 17 18
Author Message
 Post subject: Re: Android port
PostPosted: Sat Mar 04, 2017 11:48 pm 
Offline
Engineer
Engineer

Joined: Thu May 16, 2013 8:22 am
Posts: 106
Location: Ukraine
I vant to build an android version of Spring PP, but...
Code:
$ ./build.sh
Android NDK: WARNING: APP_PLATFORM android-18 is larger than android:minSdkVersion 9 in jni/../AndroidManifest.xml   
Android NDK: WARNING:jni/../jni/nanogl/Android.mk:nanogl: LOCAL_LDLIBS is always ignored for static libraries   
Android NDK: WARNING:jni/../jni/xerces/Android.mk:xerces: LOCAL_LDLIBS is always ignored for static libraries   
Android NDK: WARNING:jni/../jni/yaml-cpp/Android.mk:yaml-cpp: LOCAL_LDLIBS is always ignored for static libraries   
jni/../jni/application/Android.mk:93: предупреждение: переопределение способа для цели `jni/../jni/application/src/libapplication-armeabi.so'
jni/../jni/application/Android.mk:93: предупреждение: старый способ для цели `jni/../jni/application/src/libapplication-armeabi.so' игнорируются
jni/../jni/application/Android.mk:100: предупреждение: переопределение способа для цели `jni/../jni/application/src/libapplication-armeabi-v7a.so'
jni/../jni/application/Android.mk:100: предупреждение: старый способ для цели `jni/../jni/application/src/libapplication-armeabi-v7a.so' игнорируются
jni/../jni/application/Android.mk:106: предупреждение: переопределение способа для цели `jni/../jni/application/src/libapplication-armeabi-v7a-hard.so'
jni/../jni/application/Android.mk:106: предупреждение: старый способ для цели `jni/../jni/application/src/libapplication-armeabi-v7a-hard.so' игнорируются
jni/../jni/application/Android.mk:112: предупреждение: переопределение способа для цели `jni/../jni/application/src/libapplication-mips.so'
jni/../jni/application/Android.mk:112: предупреждение: старый способ для цели `jni/../jni/application/src/libapplication-mips.so' игнорируются
jni/../jni/application/Android.mk:118: предупреждение: переопределение способа для цели `jni/../jni/application/src/libapplication-x86.so'
jni/../jni/application/Android.mk:118: предупреждение: старый способ для цели `jni/../jni/application/src/libapplication-x86.so' игнорируются
jni/../jni/application/Android.mk:124: предупреждение: переопределение способа для цели `jni/../jni/application/src/libapplication-arm64-v8a.so'
jni/../jni/application/Android.mk:124: предупреждение: старый способ для цели `jni/../jni/application/src/libapplication-arm64-v8a.so' игнорируются
jni/../jni/application/Android.mk:130: предупреждение: переопределение способа для цели `jni/../jni/application/src/libapplication-x86_64.so'
jni/../jni/application/Android.mk:130: предупреждение: старый способ для цели `jni/../jni/application/src/libapplication-x86_64.so' игнорируются
Android NDK: WARNING:jni/../jni/nanogl/Android.mk:nanogl: LOCAL_LDLIBS is always ignored for static libraries   
Android NDK: WARNING:jni/../jni/xerces/Android.mk:xerces: LOCAL_LDLIBS is always ignored for static libraries   
Android NDK: WARNING:jni/../jni/yaml-cpp/Android.mk:yaml-cpp: LOCAL_LDLIBS is always ignored for static libraries   
rm -f ./libs/arm64-v8a/lib*.so ./libs/armeabi/lib*.so ./libs/armeabi-v7a/lib*.so ./libs/armeabi-v7a-hard/lib*.so ./libs/mips/lib*.so ./libs/mips64/lib*.so ./libs/x86/lib*.so ./libs/x86_64/lib*.so
rm -f ./libs/arm64-v8a/gdbserver ./libs/armeabi/gdbserver ./libs/armeabi-v7a/gdbserver ./libs/armeabi-v7a-hard/gdbserver ./libs/mips/gdbserver ./libs/mips64/gdbserver ./libs/x86/gdbserver ./libs/x86_64/gdbserver
cd jni/../jni/application/src && until mkdir .lock >/dev/null 2>&1; do sleep 1; done && \
./AndroidBuild.sh armeabi-v7a arm-linux-androideabi && rmdir .lock >/dev/null 2>&1
rm -f ./libs/arm64-v8a/gdb.setup ./libs/armeabi/gdb.setup ./libs/armeabi-v7a/gdb.setup ./libs/armeabi-v7a-hard/gdb.setup ./libs/mips/gdb.setup ./libs/mips64/gdb.setup ./libs/x86/gdb.setup ./libs/x86_64/gdb.setup
cd jni/../jni/application/src && until mkdir .lock >/dev/null 2>&1; do sleep 1; done && \
./AndroidBuild.sh x86 i686-linux-android && rmdir .lock >/dev/null 2>&1
../setEnvironment-armeabi-v7a.sh: line 41: syntax error near unexpected token `;;'
../setEnvironment-armeabi-v7a.sh: line 41: `                    crypto) echo crypto.so.sdl.1;;'
make: *** [jni/../jni/application/src/libapplication-armeabi-v7a.so] Ошибка 1
make: *** Ожидание завершения заданий...
^Cmake: *** [jni/../jni/application/src/libapplication-x86.so] Прерывание
$

What's wrong?

_________________
Image
Image
Image.


Top
   
 Post subject: Re: Android port
PostPosted: Sun Mar 05, 2017 2:11 am 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 201
Strange error. What OS do you use? Did you put any spaces in the path to sourcrs?


Top
   
 Post subject: Re: Android port
PostPosted: Sun Mar 05, 2017 3:33 am 
Offline
Engineer
Engineer

Joined: Thu May 16, 2013 8:22 am
Posts: 106
Location: Ukraine
I use AltLinux distribution.
Moved dir to ~, but nothing changed. It was some Cyrillic symbols, but no spaces.

_________________
Image
Image
Image.


Top
   
 Post subject: Re: Android port
PostPosted: Thu Mar 09, 2017 7:18 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Tue Jul 17, 2007 1:36 am
Posts: 1238
Skype: moonray_zdo
Location: Teh matrix, duh.
So.. how do I access my network saves from my pc?

_________________
Formerly known as Sapphire United.

Learn Openttd
Learn Planetary Annihilation
Learn Orbit
Whose poo?


Top
   
 Post subject: Re: Android port
PostPosted: Thu Mar 09, 2017 9:55 am 
Offline
Engineer
Engineer

Joined: Mon Feb 13, 2017 2:48 pm
Posts: 14
Zhall wrote:
So.. how do I access my network saves from my pc?


Easiest method:

Use dropbox and set both save folders to sync.

Medium method:
Share openttd save folder (mydocs/openttd normally), use ES File explorer to copy whichever saves to device.

Hardest method:
https://forums.geforce.com/default/topi ... tem-root-/

probably various other methods/apps todo with folder sync as well.


Top
   
 Post subject: Re: Android port
PostPosted: Thu Mar 09, 2017 6:15 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 201
Your save files are at <SD card>/Android/data/org.openttd.sdl/files/.openttd/save
Just plug your phone into PC and copy them using a file manager.


Top
   
 Post subject: Re: Android port
PostPosted: Mon Mar 20, 2017 9:26 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 201
I've had just enough free time today to release OpenTTD 1.7.0-RC1 to the beta channel on Play Store.
I'm planning a big GUI revamp for the final release, increasing buttons size even more, but I cannot promise that I will actually manage to do it.


Top
   
 Post subject: Re: Android port
PostPosted: Sun Mar 26, 2017 9:52 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 201
I'm designing a new, more compact toolbar layout, with 10 buttons on each side of the screen.
I'd like some comments about button placement, I think that 'Town directory' button at the bottom left could be replaced with something that is used more often.

Which 'information' button do you use most often? Aside from Trains/Cars/Ships/Airplanes, which have fixed position on the right side.

Image

Image


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 348 posts ]  Go to page Previous 114 15 16 17 18

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2017 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2017.
Hosted by Zernebok Hosting.