nboy1 / Admob-for-Flash-ANE-GMA21-GLM-

Admob for Flash ANE GMA21 (GLM) "adobe air native extension"
5 stars 0 forks source link

Invalid imput #1

Open Coinlogru opened 1 year ago

Coinlogru commented 1 year ago

Hello! In the manual not declared how to import path to *.ane file in Adobe Animate ActionScript settings, because without it build error 1120: undefined Admob. Also if path declared and when app bulid for iOS, it's anyway return error "Invalid imput." So, even can't test that ANE.

nboy1 commented 1 year ago

Hello! In the manual not declared how to import path to *.ane file in Adobe Animate ActionScript settings, because without it build error 1120: undefined Admob. Also if path declared and when app bulid for iOS, it's anyway return error "Invalid imput." So, even can't test that ANE.

hi @Coinlogru as i understood you are talking about import ANE in Adobe Animate and not " import com.glm.admob.*; "? if so this how to import it in adobe animate image

Coinlogru commented 1 year ago

That is correct, but path in the zip is /Admob for Flash ANE GMA21 (GLM)/Admob_ANE_ios_android/Admob-Android-IOS-v1.ane

Also "Invalid imput." error coming not only with your ane, it is also happen when wrong path to iOS Simulator, etc. So, does a path in the zip are correct?

nboy1 commented 1 year ago

all matter is ane download this ane https://github.com/nboy1/Admob-for-Flash-ANE-GMA21-GLM-/releases/tag/v1.0.0 image

and put it where ever you want and select it from the selector in adobe animate, it doesn't matter the path you put it in just be sure that you selected it and imported it in animate

Coinlogru commented 1 year ago

Here is a path: image

Here is a .as file: image

Here is a scripts: image image

And here is error: image

For Android it compile without errors, but ads not showing, even test ads.

Coinlogru commented 1 year ago

How to do this? https://github.com/lilili87222/admob-for-flash/issues/12#issuecomment-1127445017 https://github.com/lilili87222/admob-for-flash/issues/12#issuecomment-1127447428 I have Mac and Apache ANT is installed. I have create new library in Android Studio image What mean: "copy java file to src folder"? What java file? Also where to download Google Mobile Ads SDK files and where to copy it? Can't find it there: https://developers.google.com/admob/android/quick-start

nboy1 commented 1 year ago

Here is a path: image

Here is a .as file: image

Here is a scripts: image image

And here is error: image

For Android it compile without errors, but ads not showing, even test ads.

first comment: don't show Rewarded Video inside the events this mean you will show ads every time ads loaded, if you are just testing i think it's better to put it in a timer or something.

second comment: i think you are talking about lilili87222 source code? i didn't publish lilili87222 Android updated code, i asked if some one could update ios part because i couldn't catch up or follow his steps in ios part, that's why i started the new GLM ANE from scratch. you can use GLM code source.

invalid input : i think it is in ios, i think maybe something with ios certificates try to export game without admob ANE and see if you still have that error. if you have it mean something have no relation with the ANE.

"What mean: "copy java file to src folder"? What java file? Also where to download Google Mobile Ads SDK files and where to copy it?":

i need tutorial for this to explain it " there is a lot of java files and jar's some from android project and sdk jars from Maven repository and need modifications as described in comments there(a lot of work) ,you can follow comments there while trying to update it i explained a lot of steps there, or download the GLM source code and try to figure out how things made and components of every folder you will get an idea.

if you want the updated lilili87222 source code just give me where to send it to you, but i think have no meaning because it is only Android part.

Coinlogru commented 1 year ago

Here is outside event, but ads not showing at Android image

When I compile the same app with lilili87222 ANE for IOS it is install without errors and works ok, and then test ads are showing, but other ads not showing.

Yes, please send me to coinlogru@gmail.com

nboy1 commented 1 year ago

Here is outside event, but ads not showing at Android image

When I compile the same app with lilili87222 ANE for IOS it is install without errors and works ok, and then test ads are showing, but other ads not showing.

Yes, please send me to coinlogru@gmail.com

Hi Coinlogru, oops!! image

Blocked for security reasons in Gmail

nboy1 commented 1 year ago

you can check if you used IOS permission config, the GLM ANE is working fine in ios and android just check if something not declared there, try to load Ads in "main" the beginning of loading game then show it in the function you used to reward the user, or make empty project just with loading and showing the ads and follow the documentation to setup things just to debug what's wrong.

nboy1 commented 1 year ago

i've uploaded the source code you can download it from here https://github.com/nboy1/admob-for-flash-android-GMA-21.0.0/blob/main/native_src%20-%20works_27-07-2022_lilili87222.zip