Looks like I found what the issue was. In my build gradle
for the app, I had my dependencies listed like this:
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':libcocos2dx')
}
//dependencies { compile 'com.google.android.gms:play-services-ads:15.0.1' }
dependencies { compile 'com.google.android.gms:play-services-analytics:12.0.1' }
dependencies { compile 'com.google.android.gms:play-services-auth:15.0.0' }
dependencies { compile 'com.google.android.gms:play-services-games:15.0.0' }
dependencies { compile 'com.google.android.gms:play-services-drive:15.0.0' }
The error that I was getting above was saying that a library reference could not be found in the google gms
namespace. it turns out it was because of the versions I was using for the 'com.google.android.gms:play-services-analytics:12.0.1'
service. I just changed the version from 12.0.1
to 15.0.0
like the rest of the libraries and it then worked and generated my signed APK. Thank you to all that helped and I hope this can help anyone who has the same issue.