Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

AA 4.5.2 with build:gradle: 3.3.0 not work #2191

Closed
KalvinZhuang opened this issue Jan 15, 2019 · 7 comments
Closed

AA 4.5.2 with build:gradle: 3.3.0 not work #2191

KalvinZhuang opened this issue Jan 15, 2019 · 7 comments

Comments

@KalvinZhuang
Copy link

KalvinZhuang commented Jan 15, 2019

AndroidAnnotations version: 4.5.2
Android compile SDK version: 1.8
Android SDK Build-Tools: 28.0.3
com.android.tools.build:gradle:3.3.0
Android Studio: 3.3
Gradle using gradlew: 4.10.1

it work fine with
com.android.tools.build:gradle:3.2.1
Gradle using gradlew: 4.6

@KalvinZhuang KalvinZhuang changed the title AA 4.5.2 with build:gradle: 3.3.3 not work AA 4.5.2 with build:gradle: 3.3.0 not work Jan 15, 2019
@tristangrichard
Copy link

Add this to your defaultConfig{} for now

javaCompileOptions {
            annotationProcessorOptions {
                arguments = [
                        "androidManifestFile": "$projectDir/src/main/AndroidManifest.xml".toString()
                ]
            }
        }

@dodgex
Copy link
Member

dodgex commented Jan 16, 2019

@KalvinZhuang could you post your build.log or any info regarding the error you get?

@WonderCsabo
Copy link
Member

WonderCsabo commented Jan 16, 2019

@dodgex i think we added AGP 3.3 support for AA 4.6.

@KalvinZhuang can you try AndroidAnnotations 4.6-SNAPSHOT ?

@dodgex
Copy link
Member

dodgex commented Jan 16, 2019

@WonderCsabo yeah, you are right, i remembered doing 3.3 support but forgot that it has not been released. :)

@KalvinZhuang
Copy link
Author

@WonderCsabo
added :

maven {
            url = 'https://oss.sonatype.org/content/repositories/snapshots'
        }

but:

ERROR: Failed to resolve: org.androidannotations:androidannotations-api:4.6-SNAPSHOT

anybody can help me (:з」∠)?

@WonderCsabo
Copy link
Member

You should have org.androidannotations:androidannotations-api:4.6.0-SNAPSHOT

@KalvinZhuang
Copy link
Author

@WonderCsabo
(^▽^) thank you,
4.6.0-SNAPSHOT it work for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants