Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid imput #1

Open
Coinlogru opened this issue May 9, 2023 · 10 comments
Open

Invalid imput #1

Coinlogru opened this issue May 9, 2023 · 10 comments

Comments

@Coinlogru
Copy link

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
Copy link
Owner

nboy1 commented May 9, 2023

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
Copy link
Author

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
Copy link
Owner

nboy1 commented May 9, 2023

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
Copy link
Author

Coinlogru commented Sep 6, 2023

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
Copy link
Author

Coinlogru commented Sep 6, 2023

How to do this?
lilili87222/admob-for-flash#12 (comment)
lilili87222/admob-for-flash#12 (comment)
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
Copy link
Owner

nboy1 commented Sep 6, 2023

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
Copy link
Author

Coinlogru commented Sep 6, 2023

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 [email protected]

@nboy1
Copy link
Owner

nboy1 commented Sep 8, 2023

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 [email protected]

Hi Coinlogru, oops!!
image

Blocked for security reasons in Gmail

@nboy1
Copy link
Owner

nboy1 commented Sep 8, 2023

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
Copy link
Owner

nboy1 commented Sep 8, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants