Android Question Compiling error

Valentino.b

Member
Hi all

adding FireBaseAdMob library and compiling a B4A project I receive this error message

c:\android\sdk\extras\google\google-play-services\libproject\google-play-services_lib\res\values\common_attrs.xml:13: error: Attribute "imageAspectRatioAdjust" already defined with incompatible format.

C:\Users\AdminUser\Desktop\Lavori\Android_B4A\myProjectB4A\Source\Objects\bin\extra\res8\res\values\values.xml:35: Original attribute defined here.

Could you help to identify where is the "problem"?

Thank you

Valentino
 
Last edited:

Valentino.b

Member
:D already checked.
On other projects of mine (on the same machine) it works.
I copied the same detail (manifest, AdditionalRes, variable declaration, ...) into a new project but I receive this error and I not understend where is the problem.
 
Upvote 0

Valentino.b

Member
? great!
Now it works.

Both declarations (Initialize and Initialize2, like attachment) are necessary?
The first code (with ~) is the ID APP, the second (with /) is the ID banner.
I understood that Initialize is used only for the default size (320dip x 50dip).

With AdMob object, ID Banner is managed using mwAdInterstitial object.
Using FirebaseAdMob where ID APP must be placed?
 

Attachments

  • Untitled 1.png
    Untitled 1.png
    13.6 KB · Views: 90
Last edited:
Upvote 0
Top