Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Add support for the official Android Gradle plugin #517

Copy link
Copy link
@devesh

Description

@devesh
Issue body actions

The documentation for the new gradle plugin is here: http://tools.android.com/tech-docs/new-build-system/user-guide

When I try to use AndroidAnnotations with it, I get the following error because AndroidManifest.xml is placed in build/manifests/debug, while AndroidAnnotations looks up from build/classes/debug.

error: Unexpected error. Please report an issue on AndroidAnnotations, with the following content: java.lang.IllegalStateException: Could not find the AndroidManifest.xml file, going up from path [/Users/devesh/Google Drive/eclipseworkspace/dropsentry/SensorClient/build/classes/debug] found using dummy file [file:///Users/devesh/Google%20Drive/eclipseworkspace/dropsentry/SensorClient/build/classes/debug/dummy1362074314049.java](max atempts: 10)
at com.googlecode.androidannotations.helper.AndroidManifestFinder.findManifestInParentsDirectories(AndroidManifestFinder.java:156)
at com.googlecode.androidannotations.helper.AndroidManifestFinder.findManifestFileThrowing(AndroidManifestFinder.java:93)
at com.googlecode.androidannotations.helper.AndroidManifestFinder.extractAndroidManifestThrowing(AndroidManifestFinder.java:65)
at com.googlecode.androidannotations.helper.AndroidManifestFinder.extractAndroidManifest(AndroidManifestFinder.java:55)
at com.googlecode.androidannotations.AndroidAnnotationProcessor.extractAndroidManifest(AndroidAnnotationProcessor.java:388)
at com.googlecode.androidannotations.AndroidAnnotationProcessor.processThrowing(AndroidAnnotationProcessor.java:358)
at com.googlecode.androidannotations.AndroidAnnotationProcessor.process(AndroidAnnotationProcessor.java:341)
at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:627)
at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:556)
at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:701)

I'll file a separate documentation bug to update the documentation to include the new Android Gradle plugin.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.