Android Question Problem compiling on 9.8 from 8.8

Status
Not open for further replies.

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
Hi, I have an app that compiles and run ok in 8.8
Ive installed 9.8, recompile, install and the app opens and close inmediately withot sendin nothing to the Log.
Tested in debug mode too.
Any idea?
 

DonManfred

Expert
Licensed User
Longtime User
Any idea?
How could we? You are giving zero Informations.

Check the unfiltered log. There is no crash in Android without something in the Log. Post the full error may help us helping you.
 
Upvote 0

Peter Simpson

Expert
Licensed User
Longtime User
Hi, I have an app that compiles and run ok in 8.8
Ive installed 9.8, recompile, install and the app opens and close inmediately withot sendin nothing to the Log.
Tested in debug mode too.
Any idea?

As Manfred said, you should post any errors that have appeared in the logs or compilations window, without them we would just be guessing.
 
Upvote 0

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
Ive solved this errors recompile, no filtered log and nothing, when it runs I see the first Activity appear for a milisecond and close, nothing in the log.
Ive added a log("beggining") at the Sub Activity_Create(FirstTime As Boolean) and nothing.
Dont know what else to do.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
Ive solved this errors recompile
Dont know what else to do.
Sorry, I don't understand! Is it solved or not !!??
The most efficient way to get help would be that you post your project as a zip file, so we can look and see what happens.
 
Upvote 0

Peter Simpson

Expert
Licensed User
Longtime User
Dont know what else to do.

Try using USB debugging instead of using the b4a-bridge if you are definitely not receiving any logs. I've personally never seen a crash without any log messages before.

If you are still having issues, then you'll just have to single step through the code in debug mode until you actually find where the crash is happening.

Make sure that you have all the recommended B4A SDK components installed and also make sure that you have jitified all the libraries too...
 
Upvote 0

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
My problem is the Debug menu item is disabled !?!? I dont know why.
I also tried to upload the Source but the zip is very large for this server.
 
Upvote 0

Peter Simpson

Expert
Licensed User
Longtime User
My problem is the Debug menu item is disabled !?!? I dont know why.
I also tried to upload the Source but the zip is very large for this server.

Dropbox, if you don't have Dropbox send me your email address via a PM and I'll share a folder for you to put it into, I can look it for you. Please note that I don't usually make offer like that, so you should take full advantage of it whilst I'm in a good mood lol ?

Also have you seen these posts???
 
Upvote 0

Peter Simpson

Expert
Licensed User
Longtime User
Dropbox: https://www.dropbox.com/s/s0klvdjfgukyai2/PortItApp.zip?dl=0
Ive seen these post but even when I select Debug to compile the debug menu item stays disabled.
Thanks for your help

Here we have an error message, not unless you removed the file on purpose which would link of make sense in this instance:
B4X:
B4A Version: 9.80
Java Version: 11
Parsing code.    (0.35s)
Building folders structure.    (0.05s)
Compiling code.    Error
Error parsing manifest script:
Error parsing google-services.json:
Could not find file '<I'VE TAKEN THIS PART OUT AS IT'S NOT RELEVANT>\PortIt_AdMov\google-services.json'.

Where is your google-services.json file, it's missing???

I've now deleted your code from off my machine, I suggest that you delete the Dropbox link???

Enjoy...
 
Upvote 0

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
Thanks Peter but I dont have any error compiling, just running it.
May be the zip generated by the IDe is not complete.
If you have time I can zip the entire folder but what about the libraries?
 
Upvote 0

Peter Simpson

Expert
Licensed User
Longtime User
Thanks Peter but I dont have any error compiling, just running it.
May be the zip generated by the IDe is not complete.
If you have time I can zip the entire folder but what about the libraries?
Don't worry about the libraries, they can easily be downloaded from the forum, plus that was not the problem that I was having. Zip the whole project up and upload it to your dropbox.

Im using java version 8, you are using 11, is that ok for 9.8?
8, 10, 11 at all works fine.
 
Upvote 0

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
The rhis is not the problem because the same project , using Admovs, compiles and run ok in 8.8 and compiles but not run in 9.8, I only see the activity pro a mili sencond and it halts showing nothing in the log.
 
Upvote 0
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…