Android Question B4A Rel.6 Beta #1 Error Parsing Metadata

MarcoRome

Expert
Licensed User
Longtime User
Hi Erel.
when i open a project i have this error ( after few seconds )

v6.jpg
 

MarcoRome

Expert
Licensed User
Longtime User
Another nightmare... no thank you.
Well.... first time this Error: "Error Parsing metadata file..." i update SDK, finish this error and start error with Google Play Service 30....again this error..i have disinstalled Google Play Services 30... ok first App work
when i try app b4EasyVideoPlayer ( by DonManfred that work without problem last SDK not update ) compile but when run.... freeze.
This depend "Android Support Repository".... is really nightmare.
Don or another guys that try B4A 6 and tried with different apps ( that work with ....\support\v7\appcompat\res,android.support.v7.appcompat & .......\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms .... ) can download this SDK ???
Thank you
 
Upvote 0

MarcoRome

Expert
Licensed User
Longtime User
@AndOrNot please start a new thread.

@MarcoRome have you installed the latest versions of:
- Android Support Repository
- Android Support Library
- Google Play Services
- Google Repository
?
Hi Erel.
Thank you for your response. This i think that is big problem for users.
It all started a week ago when i bought a new PC and then installed New SDK. ( Look This Thread ). At the time (B4A 5.80 ) i solved the problem (me and others) by copying a previous version of the SDK.

Now with the new B4A version 6:

1) If you do not update the SDK receive the error #1
2) After that i updated everything, as requested by the SDK, so also Support Repository, Support Library, Play Services, Google Repository, etc.
After this update the first error that i have is this: "ERROR: resource directory 'xxxxxextras\google\google_play_services\libproject\google-play-services_lib\res' does not exist" as in this THREAD already open time ago.
So as in this last thread i have uninstalled Google 30 and reinstalled Rel. 29. After this i havent had this error.
3) I tried to compile a new library of Don ( b4EasyVideoPlayer HERE ) . The program was compiled, but when i run the same .... it freezes ( As time ago look POST )

Anyway now i have uninstalled everything SDK and I'm reinstalling everything again.

The question is why if i install the new SDK i have all these problems ?
 
Upvote 0

MarcoRome

Expert
Licensed User
Longtime User
You can remove the #AdditionalRes lines. They are no longer required.
Erel i uninstalled and reinstalled everything the SDK environment, for sure i installed also SDK 18,19, 22 and 23 . Also "Android Support Library (Obsolete)" But the result does not change.
Watch the movie:


#AdditionalRes is request because, example, if i use MAPS in Manifest i have also this code:


android:value="@Integer/google_play_services_version"


Do you have ( or someone ) SDK that run without problem ( also with B4A 6 ) because the last SDK Android is ---> "SDK NIGHTMARE"

If yes pls make available the same.
(with the previous version of the SDK had never happened, everything worked without any problem)
Thank you
 
Upvote 0

juvanum

Active Member
Licensed User
Longtime User
Do you have ( or someone ) SDK that run without problem ( also with B4A 6 ) because the last SDK Android is ---> "SDK NIGHTMARE"

If yes pls make available the same.
(with the previous version of the SDK had never happened, everything worked without any problem)
Thank you


UP
I have the same problem
 
Upvote 0

MarcoRome

Expert
Licensed User
Longtime User
I solved. Public Solution tomorrow moorning.
The problem ISNT B4A of course ( great tool Erel, really great tool ) is New SDK.
Anyway i found solution that work without problem.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

juvanum

Active Member
Licensed User
Longtime User
Please start a new thread and post the error message that you get.

It is really not complicated. There are some changes that need to be done with libraries that refer to the older versions of Google libraries.
Mainly remove #AdditionalRes and add #AdditionalJar to refer to the new library.

Example: https://www.b4x.com/android/forum/t...ay-services-fused-location.67748/#post-429215

I said that badly.
I had problems with the sdk version 30.

now I'm using:
sdk version 29
B4A version 5.80
 
Upvote 0
Top