Open hkchakladar opened 5 years ago
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
I have cloned this repo and added
nativetemplates
folder as a module as shown here https://developers.google.com/admob/android/native/templatesThen after adding the following in app-level
build.gradle
file, (need to remove extra)
)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'.