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

Error in gradle sync #5

Open
hkchakladar opened this issue Aug 8, 2019 · 3 comments
Open

Error in gradle sync #5

hkchakladar opened this issue Aug 8, 2019 · 3 comments

Comments

@hkchakladar
Copy link

I have cloned this repo and added nativetemplates folder as a module as shown here https://developers.google.com/admob/android/native/templates

Then after adding the following in app-level build.gradle file, (need to remove extra ) )

implementation project(':NativeTemplatesAndroid-1.0.0')

I got this error when syncing gradle after making these changes:

ERROR: Project with path ':NativeTemplatesAndroid-1.0.0' could not be found in project ':app'.

@oluwasegun277
Copy link

I have same problem here. Have you resolve it?

@hkchakladar
Copy link
Author

@oluwasegun277 It can be solved by replacing

implementation project(':NativeTemplatesAndroid-1.0.0')

with

implementation project(':nativetemplates')

The documentation is probably not updated.

And I have left this library and creating native ads from scratch as this library doesn't support androidx.

@oluwasegun277
Copy link

Thanks for your response. I have equally switch to the Advance one. Creating from scratch is easy too. Thanks hkchakladar

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