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

[huawei_ads] Previous integration broken, error during build #361

Open
deakjahn opened this issue Apr 18, 2024 · 0 comments
Open

[huawei_ads] Previous integration broken, error during build #361

deakjahn opened this issue Apr 18, 2024 · 0 comments

Comments

@deakjahn
Copy link

deakjahn commented Apr 18, 2024

This is a regression in 1.9.1.x, downgrading to 1.9.0 still works.

The previous integration instructions no longer seem to work. Gradle has also moved on and requires some changes. See the attached sample: on compilation, it gives a No such property: rootProject for class: com.huawei.agconnect.agcp.AGCProcess error.

settings.gradle still uses the resolution strategy workaround because you still failed to name your package properly so that Gradle can find it on its own. Otherwise, it uses the new plugins block to specify potential plugins. app/build.gradle retains the buildscript section just for the benefit of Huawei's plugin (this also should be reorganized as buildscript is now obsolete) and also uses the new plugins block instead of the old apply plugins items (although note that the error is actually the same with the old syntax, too).

Note that agconnect-services.json is empty, is has to be filled in with valid data once the build process reaches it at all.

testhuaweiad.zip

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

1 participant