|
1
|
Hi This is strange. I've just installed the new Ti Developer 1.2.1 and Mobile SDK 1.2.0. I create a brand new mobile project to test the Android emulator (as I have not get any app running before). I got to the Run Emulator tab but only Iphone option is available. The Android option is no more. My previous projects are ok, android option still there. Think this is deliberate? asked 5 months ago
by Peter Lum
|
|
2
|
Hey guys.. If you're still having the app-crash-on-launch problem or any other potential issues when Launching your app, you should probably try the latest updates from our git repository. I've fixed a number of issues with the SDCard copier, and packaging/deploying in general. For now, the sdcard copier has been turned off by default unless you put this property in your tiapp.xml: <property name="ti.android.loadfromsdcard" type="bool">true</property>I've put up a public drop that has recent builds of the android only mobile sdk here: http://drop.io/titanium_android_nightly Please keep in mind these are android only builds, meaning that you won't be able to launch your project in the iPhone simulator with these builds. Also, they are built from HEAD meaning there is a chance that there is some breaking changes since our last public release. You can extract this zip into your Titanium installation folder. In OSX that's one of: /Library/Application Support/Titanium # or ~/Library/Application Support/Titaniumin Windows: # Vista, Win7 C:\ProgramData\Titanium # XP C:\Documents and Settings\All Users\Application Data\Titaniumin Linux: ~/.titaniumYou'll need to change your project's SDK to '1.2.1' after you extract and restart Developer answered 5 months ago
|
|
2
|
For me replacing Android.py on OSX didn't fix the issue. Still don't see the emulator option for Android. (I did make a new project afterwards). Out of ideas. answered 5 months ago
by Eric Jensen
|
|
2
|
Replaced the new android.py file fixed the problem. However, creating a default new mobile project, and run it in the android emulator still crash. The app crashed, not the emulator. answered 5 months ago
by Peter Lum
|
|
1
|
Could anyone from Appcelerator team make a very clear explanation and stick it to the top of web page about all android.py related issues? We can see dozens of similar messages and twitter posts about Ti mobile issues, and answer is same for all, but it seems it's not enough. SDK update (android.py) doesn't fix problem of existing projects, because /build/ folder is created at project creation phase and never recreated (why???). If some part is broken (Ti SDK, iPhone SDK, Android SDK) - project will be broken. So, to fix existing project, you need create new project with same ID, name etc. and copy Resources folder from old one to new project answered 5 months ago
|
|
1
|
I replaced the py file as above - but I am still having the same issue. Android is not showing up as an option in the emulator tab. It does show up in the KitchenSink project - but the android text boxes show "Loading..." but nothing happens. I am on a Mac running SnowLeopard. Thanks. answered 5 months ago
by Srini Vasan
|
|
0
|
Is anyone going to given a permanent solution for this? I can't defer my work for indefinite period :( answered 4 months ago
by Dev Priya
|
|
0
|
Yes, I tested the nightly. If this forum wasn't in a silly order, you'd probably have noticed I posted that 2 weeks ago. I'm really surprised that this isn't getting critical bug status. answered 4 months ago
by Jacob Singh
|
|
0
|
Today i tried for the first time to install Titanium and i have the same issues with android. I'm running Titanium 1.2.1 with mobilesdk 1.2.1 from mobilesdk-1.2.1-20100426195031-android-win32.zip and the latest android sdk. Java jdk-6u20-windows-i586 and the latest Kitchen Sink from github. I'm using the modified android.py. Should i use the included one? Kitchen Sink is crashing in both 1.6 simulator and on my Xperia X10. Any other hints? answered 5 months ago
by Catalin C.
|
|
0
|
@Jacob @Gennadly have you guys tried using a nightly as posted in my instructions at the top of this post? answered 5 months ago
|
|
0
|
I tried the solution provided using the nightly snapshot. Changed my project to 1.2.1, didn't make a difference, still can't emulate or launch or package on Android. OSX. answered 5 months ago
by Jacob Singh
|
|
0
|
Yet another +1 I'm kinda surprised this has been sitting here for this long, certainly doesn't inspire me to pay money for the service if show-stopping bugs are ignored like this in the main product. Would love to try Titanium out, but primarily interested in android dev so will wait till it gets resolved I suppose. -Jacob answered 5 months ago
by Jacob Singh
|
|
0
|
Strange problem: I updated titanium to 1.2.1 (Windows XP), trying to build KitchenSink and run in emulator, but after "Copying project resources.." nothing happens... I think problem in this lines: [INFO] Copying project resources.. [TRACE] Traceback (most recent call last): [TRACE] File "C:Documents and SettingsAll Users.WINDOWS2Application DataTitaniummobilesdkwin321.2.1androidbuilder.py", line 896, in <module> [TRACE] s.build_and_run(False,avd_id) [TRACE] File "C:Documents and SettingsAll Users.WINDOWS2Application DataTitaniummobilesdkwin321.2.1androidbuilder.py", line 751, in build_and_run [TRACE] self.copy_project_resources() [TRACE] File "C:Documents and SettingsAll Users.WINDOWS2Application DataTitaniummobilesdkwin321.2.1androidbuilder.py", line 267, in copy_project_resources [TRACE] self.project_deltafy = Deltafy(resources_dir, include_callback=self.include_path) [TRACE] File "C:Documents and SettingsAll Users.WINDOWS2Application DataTitaniummobilesdkwin321.2.1androiddeltafy.py", line 84, in __init__ [TRACE] self.conn = sqlite3.connect(self.db_path, detect_types=sqlite3.PARSE_DECLTYPES) [TRACE] sqlite3.OperationalError: unable to open database fileThe full debug log is here: http://pastie.org/930144 answered 5 months ago
|
|
0
|
tested with nightly 4/22 worked fine. answered 5 months ago
by Dan Trevino
|
|
0
|
Hey guys.. If you're still having the app-crash-on-launch problem or any other potential issues when Launching your app, you should probably try the latest updates from our git repository. I've fixed a number of issues with the SDCard copier, and packaging/deploying in general. For now, the sdcard copier has been turned off by default unless you put this property in your tiapp.xml: <property name="ti.android.loadfromsdcard" type="bool">true</property>I've put up a public drop that has recent builds of the android only mobile sdk here: http://drop.io/titanium_android_nightly Please keep in mind these are android only builds, meaning that you won't be able to launch your project in the iPhone simulator with these builds. Also, they are built from HEAD meaning there is a chance that there is some breaking changes since our last public release. You can extract this zip into your Titanium installation folder. In OSX that's one of: /Library/Application Support/Titanium # or ~/Library/Application Support/Titaniumin Windows: # Vista, Win7 C:ProgramDataTitanium # XP C:Documents and SettingsAll UsersApplication DataTitaniumin Linux: ~/.titaniumYou'll need to change your project's SDK to '1.2.1' after you extract and restart Developer answered 5 months ago
|
|
0
|
I'm having the exact same problem as Vasan. I'm on a Mac and when I create a new project, Titaniums says I have the Android SDK, I have the Android 1.6 r4, but when i go to the Run Emulator tab, Android is not visible. Android is only visible on the Kitchen Sink project, but when I try to run it there, it compiles and everything seems ok, no error messages of any kind, the emulator start, but nothing more appens, no app gets installed or starts... Can any of the devs give an input here? answered 5 months ago
|
|
0
|
I replaced the py file as above - but I am still having the same issue. Android is not showing up as an option in the emulator tab. It does show up in the KitchenSink project - but the android text boxes show "Loading..." but nothing happens. I am on a Mac running SnowLeopard. Thanks. answered 5 months ago
by Srini Vasan
|
|
0
|
I replaced the py file as above - but I am still having the same issue. Android is not showing up as an option in the emulator tab. It does show up in the KitchenSink project - but the android text boxes show "Loading..." but nothing happens. I am on a Mac running SnowLeopard. Thanks. answered 5 months ago
by Srini Vasan
|
|
0
|
I had the same problem, I replaced the android.py, it didn't work. Some how I tried to figure out within the android.py file that it needs android 1.6 revision 4. I updated and it worked. I guess this was the problem. Hope it helps. Thanks. answered 5 months ago
by Ved Prakash
|
|
0
|
Hmm, I'm having the same issue, and this workaround does not seem to work. I'm running windows 7, and I modified the file in: C:ProgramDataTitaniummobilesdkwin321.2.0android EDIT: After playing around with it for a while, and upgrading my Android SDK, it now works with new projects. Sorry for the confusion. answered 5 months ago
by David Fox
|
*italic* / _italic_**bold** / __bold__Header 1
========Header 2
--------### Header 3#### Header 4An [inline](http://href.com) linkReference [links][id] are defined via ids added somewhere else.
[id]: http://href.com1. Ordered
2. Lists- Unordered
- Lists`inline code` (backticks)~~~
code block (three tildes)
~~~> Paragraph.