Android Question [SOLVED] None of the apps can be installed (mine or from B4A) under Lollipop

Luis Felipe

Member
Licensed User
Longtime User
Hi everyone,

My whole "update" to Android 5.0.2 Lollipop is very "pain in the ass" for me.
Nothing of what was working under Android 4.2.2 and B4A v5.02 is now working.
I update the SDK to version 21 (19 before).
I restarted the ADB server, etc...
In the log the business logic seems to work but nothing is shown on the screen (no layout) and i can not see the app installed on the smartphone...
I tried with my app but the examples taken from this forum has not installed either.

Here is my path configurations:
C:\Program Files\Java\jdk1.7.0_71\bin\javac.exe
and
C:\Android\platforms\android-21\android.jar

and the Manifest Editor content:
B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: http://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo")
'SetActivityAttribute(main, android:launchMode, "singleInstance")
'End of default text.
The smartphone is under debug mode and there is not sdcard slot (difference from my previous device) --> for that reason I'm using now File.DirInternal.
Thank you for your help.
 

DonManfred

Expert
Licensed User
Longtime User
i´m working on java 1.8.51 or so.
I also did update my Android SDK regularly.
I´m compiling to Android 22 (ide configure path)

I dont know how to resolve sorry.
 
Upvote 0

Luis Felipe

Member
Licensed User
Longtime User
Ok DonManfred. But everything helps me. I compile with Android 21 (my Smartphone Android version y 5.0.2).
I'm going to update the jdk version...
Thanx
 
Upvote 0

RandomCoder

Well-Known Member
Licensed User
Longtime User
i´m working on java 1.8.51 or so.
I also did update my Android SDK regularly.
I´m compiling to Android 22 (ide configure path)

I dont know how to resolve sorry.
One way to help resolve if it is the phone or the B4A setup would be if you could send Luis the compiled APK to test in his device @DonManfred
At least we'll know if its phone or PC setup! :)
 
Upvote 0

RandomCoder

Well-Known Member
Licensed User
Longtime User
@RandomCoder sorry I did not understand : should I send the apk file to you, DonManfred o should I try to install it directly ?
I was meaning for Manfred to send you his compiled APK but I think what Erel is suggesting is the samething but using the Play Store (B4A Bridge is written using B4A as far as I'm aware).
 
Upvote 0

Luis Felipe

Member
Licensed User
Longtime User
I got B4a-Bridge installed but I was not able touse it because there were no wifi nor Bluetooth here.
I just bought a Wifi dongle for the pc I'm working in and via the B4A-Bridge app through WiFi I could install the app.
So it works but I don't know why it does not via the USB port...
Thanx you so much to all of us. I was getting mad about that for a couple of days.
 
Upvote 0
Top