[AC-2259] Android: Compile time Error Build process exited with code 1 due to Admob module
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-05-31T23:39:51.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | triage |
Reporter | Joseph Sachs |
Assignee | Shak Hossain |
Created | 2013-05-29T15:00:02.000+0000 |
Updated | 2016-03-08T07:41:15.000+0000 |
Description
Attachments
File | Date | Size |
---|---|---|
build.log | 2013-05-29T19:35:57.000+0000 | 332 |
SESSION 2013-05-29.txt | 2013-05-30T00:46:24.000+0000 | 1738 |
[~underlabs] Can you add the build file as noted in /Users/theUser/Documents/Titanium/AppName/build.log?
Attached the build.log I wish I can provide more info, but this is all that was traced. I can probably _securely_ send you the full project?
Hi Joseph, Yeah that doesn't provide much more info sadly :) That's also what you see when you go to Help -> Studio -> View Log File? Does it only happen for that particular project? You mention Admob - what happens if you remove that? Note that the Admob module is open source, so you could always try rebuilding it yourself: https://github.com/appcelerator/titanium_modules/tree/master/admob
Hi Daniel, I've removed AdMob, and I still got the same error. I also attached the logfile from Help -> Studio -> View Log File.
Thanks Joseph. The log is really long, it would help even more if you could go to Help -> Studio -> Clear Log File, try building again, and then posting that log too. Then we can know exactly which error is relevant. One other thing - can you clarify if it happens for other projects? What happens if you try to build one of the template projects? Cheers!
That was exactly what I was trying to do :) I've uploaded the essential session. On another note, an empty project/other projects, work. Notify me (seeing the log dosen't help too much) if you would like me to email you the Project itself as is. It runs perfectly on iOS... Now the Android version is next, and I'd prefer to have the same code base, and manage the platform differences by code. This error occurred on the first run of trying it on Android (the device & simulator gives this error). Also, I have tried removing All Modules. I wouldn't have logged this error in Jira till I saw this: http://developer.appcelerator.com/question/151834/build-process-exited-with-code-1 This was first asked 4 weeks ago. I also tried to target Android 2.3.3 to 4.0 with the same error.
Just ran your project - first on iOS 6 simulator, ran fine. I then installed it on a Samsung Galaxy S2 Android 2.3.6, it installed and ran fine without any error for both 3.1 GA and latest 3.1.1 build (however the screen is all white, but that's probably a porting issue you've yet to solve). I then built it for the Android 4.1.2 x86 HVGA emulator, and the project built fine, but crashed at runtime. Sadly I can't reproduce your "Build process exited with code 1" error...
I guess that's Good news :) No problem with the porting issue, I'd love to start working on it. I've copied all the resource/ folder into a New Project, and it gave me an error:
So now I'm figuring it's the tiapp.xml's *
And it WORKED!! Sorry to have bothered you. I think this issue should be changed to resolved.
Could be, I'm using the latest stable: 3.1.0.201304151600
It's Working now :)
I forgot about the studio version, I guess I'll try with 3.1.1 next.
Oh, ok. Nice. Glad you solved it :-) I'll resolve the issue. Thanks!
Closing as per Joseph's feedback.