sarahk
Code is Art
Profile
Posts: 159
Reg: Jul 16, 2014
Auckland
10,290
02/17/16 12:23 PM (8 years ago)

Android Studio not giving errors but app not working

I've been going round and round on this. I have an app I'm building and it's got a few features that exploit BT's versatility by building the config file on a separate site. I had it all working but decided I wanted to add tabs and because the tab images need to be local I had to rebuild the app. It came up once in the emulator and since then has failed to run. I get a config file error on the emulator and on a real phone it brings up the app with no content and no tabs. I've backed out all my stuff to no avail. I've created a brand new, bare bones app that is pure Buzztouch and I get the same errors. I figure, therefore, that something has changed in the development environment (osx) but I can't work out what. Emulator: https://cldup.com/ezTKD1Krcn-3000x3000.png Errors: https://cldup.com/zRzBgEcSw6-3000x3000.png Any ideas on how to get this back on track?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/17/16 02:07 PM (8 years ago)
Hi Sarah, It looks like the app is actually running in the simulator, which is good. Now we just need to figure out what's going on. Are you able to get any output from LogCat in Android Studio? Knowing what it's saying would help us greatly. From that we can help debug further. Let us know what you see there! Mark
 
sarahk
Code is Art
Profile
Posts: 159
Reg: Jul 16, 2014
Auckland
10,290
like
02/23/16 06:39 PM (8 years ago)
Hi Mark I've been fighting fires in other tasks all week. I can't get logcat to give me anything at all. Nothing, nada. If it did I might be able to work it out.
 
sarahk
Code is Art
Profile
Posts: 159
Reg: Jul 16, 2014
Auckland
10,290
like
02/23/16 07:32 PM (8 years ago)
I get these Gradle Errors Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse’. Error:(18) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored’. Error:Execution failed for task ':app:processDebugResources'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Users/setup/Library/Android/sdk/build-tools/21.1.2/aapt'' finished with non-zero exit value 1 and here's the config for that app http://www.buzztouch.com/api/app/?command=getAppData&appGuid=JA8E2C98EC7BFD52259D6C6CC&apiKey=BCA0805F4836476701C4752&apiSecret=6C1D2C4D664D816F91D8521 You'll see that the app is pretty bare bones BT
 
sarahk
Code is Art
Profile
Posts: 159
Reg: Jul 16, 2014
Auckland
10,290
like
02/23/16 08:10 PM (8 years ago)
Hi Mark - if you're still around - and anyone else kind enough to check this thread Found some errors! 02-24 15:58:30.771 951-951/? E/lowmemorykiller: Kernel does not support memory pressure events or in-kernel low memory killer Damn! went back and the history was gone and now can repeat the error in the simulator but can't see the errors in the log.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/23/16 10:01 PM (8 years ago)
Hi Sarah, Would you be willing to send me your project files so I can run it through Studio on my end? Maybe I can get LogCat to show me something! Also...have you tried to do a Product...Clean from the menu bar just to make sure everything is pure? If you send your project to MrkFleming at gmail dot com, I can give it a run. Thanks! Mark
 
sarahk
Code is Art
Profile
Posts: 159
Reg: Jul 16, 2014
Auckland
10,290
like
03/02/16 08:22 PM (8 years ago)
A quick update, Mark has had a look and is able to repeat the errors I've found. anyone else who might want to take a look - my barebones project that shows the error is at https://www.dropbox.com/s/djyl6nhxrji4895/nzpif3-for-Android-Studio.zip?dl=0 and the associated images are at: https://www.dropbox.com/s/jmjp1igiddkm6zk/fedlogolarge.png?dl=0 https://www.dropbox.com/s/idh2huucycecss4/tabbankcards.png?dl=0 https://www.dropbox.com/s/7lxof7cnplzkwqi/tabhome.png?dl=0 https://www.dropbox.com/s/7lxof7cnplzkwqi/tabhome.png?dl=0 https://www.dropbox.com/s/y4u51cyfbjagmn1/wwwsm.jpg?dl=0 It appears to be a buzztouch error rather than something I've done. Hopefully David B will be able to talk a look!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.