Android Question Trying for a comeback

wdegler

Active Member
Licensed User
Longtime User
I have several published apps but have not written one for a while.

When I try to compile any app, however simple, I get the following error message:

res\values-v20\theme.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material'.

This happens even without ANY code!

What I am missing should be obvious. What am I missing?
 

JohnC

Expert
Licensed User
Longtime User
The manifest is probably specifying a theme that does not exist.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
What am I missing?
giving us more details:
- You are using B4A 9.5?
- are you using the new B4A SDK Manager? And all items are uptodate?
- What is the path to your android.jar? It should be android.jar from platforms\android-28\
- What is the path to your SDK?
 
Upvote 0

wdegler

Active Member
Licensed User
Longtime User
giving us more details:
- You are using B4A 9.5?
- are you using the new B4A SDK Manager? And all items are uptodate?
- What is the path to your android.jar? It should be android.jar from platforms\android-28\
- What is the path to your SDK?

THANK YOU FOR YOUR RESPONSE.

I am using B4A 9.50.
I am using a B4A SDK Manager where 12 "Google Mavin"s are installed.
I have just installed latest SDK,. I have yet to check it out.
My android.jar path is c:\Program Files (x86)\Android\android-sdk\platforms\android-19\android.jar.
I have work to do figure out all of this and get it all up to date.
 
Upvote 0

wdegler

Active Member
Licensed User
Longtime User
The error is expected. Follow the updated installation instructions and everything will work: https://www.b4x.com/b4a.html#installation
Thank you for your help:

I am studying the link you have provided and am attempting to follow all the steps. A number of choices there have to be made.
I have installed the latest java and Android SDK. I have also installed Android Studio to possibly simplify things.
This is still a work in progress.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
My android.jar path is c:\Program Files (x86)\Android\android-sdk\platforms\android-19\android.jar.
1. You are NOT using the B4A SDK MAnager. Or at least this path is not the path the SDK Manager is using. It is also the WRONG android.jar.
I have also installed Android Studio to possibly simplify things.
It does not simplify anything. Android Studio needs HIS OWN SDK. The SDK from AS is not compatible with B4A.
Android Studio is NOT needed at all to develop with B4A.

If you want you can give me your AnyDesc ID and i´ll help you setting up everything new regarding the SDK, B4A SDK Manager and B4A Configuration.
 
Last edited:
Upvote 0
Top