googleads-mobile-android-native-templates
googleads-mobile-android-native-templates copied to clipboard
Error in gradle sync
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'.
I have same problem here. Have you resolve it?
@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.
Thanks for your response. I have equally switch to the Advance one. Creating from scratch is easy too. Thanks hkchakladar