{"action":"created","issue":{"url":"https://api.github.com/repos/excilys/androidannotations/issues/1510","labels_url":"https://api.github.com/repos/excilys/androidannotations/issues/1510/labels{/name}","comments_url":"https://api.github.com/repos/excilys/androidannotations/issues/1510/comments","events_url":"https://api.github.com/repos/excilys/androidannotations/issues/1510/events","html_url":"https://github.com/excilys/androidannotations/issues/1510","id":98985747,"number":1510,"title":"Deeplinkdispatch with Android Annotations - error creating file","user":{"login":"somghosh","id":5731118,"avatar_url":"https://avatars.githubusercontent.com/u/5731118?v=3","gravatar_id":"","url":"https://api.github.com/users/somghosh","html_url":"https://github.com/somghosh","followers_url":"https://api.github.com/users/somghosh/followers","following_url":"https://api.github.com/users/somghosh/following{/other_user}","gists_url":"https://api.github.com/users/somghosh/gists{/gist_id}","starred_url":"https://api.github.com/users/somghosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/somghosh/subscriptions","organizations_url":"https://api.github.com/users/somghosh/orgs","repos_url":"https://api.github.com/users/somghosh/repos","events_url":"https://api.github.com/users/somghosh/events{/privacy}","received_events_url":"https://api.github.com/users/somghosh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-08-04T14:38:31Z","updated_at":"2015-09-13T20:32:51Z","closed_at":"2015-09-07T08:11:05Z","body":"I have a 1 activity project, with Android Annotations (using @EActivity to refer to the activity layout) and I am using DeeplinkDispatch on top of it\r\n\r\nSeems like both annotations library don't go so well. If I remove either package, the app runs, but not with both\r\n\r\n\r\n\r\n## Only activity class\r\n\r\n\tpackage com.example.android.deeplinktest;\r\n\r\n\timport android.support.v7.app.AppCompatActivity;\r\n\timport android.os.Bundle;\r\n\timport android.view.Menu;\r\n\timport android.view.MenuItem;\r\n\timport android.widget.TextView;\r\n\r\n\r\n\timport com.airbnb.deeplinkdispatch.DeepLink;\r\n\r\n\timport org.androidannotations.annotations.AfterViews;\r\n\timport org.androidannotations.annotations.EActivity;\r\n\r\n\t@EActivity(R.layout.activity_main)\r\n\t@DeepLink(\"foo://deepLink/{id}\")\r\n\tpublic class MainActivity extends AppCompatActivity {\r\n\r\n\t/*    @Override\r\n\t    protected void onCreate(Bundle savedInstanceState) {\r\n\t        super.onCreate(savedInstanceState);\r\n\t        setContentView(R.layout.activity_main);\r\n\r\n\r\n\r\n\r\n\t    }*/\r\n\r\n\r\n\t    @AfterViews\r\n\t    public void init(){\r\n\t        if (getIntent().getBooleanExtra(DeepLink.IS_DEEP_LINK, false)) {\r\n\t            Bundle parameters = getIntent().getExtras();\r\n\r\n\t            String idString = parameters.getString(\"id\");\r\n\r\n\t            ((TextView)findViewById(R.id.tv)).setText(idString);\r\n\t        }\r\n\t    }\r\n\r\n\r\n\t}\r\n\r\n\r\n## Android Manifest\r\n\r\n\t<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\t<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n\t    package=\"com.example.android.deeplinktest\" >\r\n\r\n\t    <application\r\n\t        android:allowBackup=\"true\"\r\n\t        android:icon=\"@mipmap/ic_launcher\"\r\n\t        android:label=\"@string/app_name\"\r\n\t        android:theme=\"@style/AppTheme\" >\r\n\t        <activity\r\n\t            android:name=\".MainActivity_\"\r\n\t            android:label=\"@string/app_name\" >\r\n\t            <intent-filter>\r\n\t                <action android:name=\"android.intent.action.MAIN\" />\r\n\r\n\t                <category android:name=\"android.intent.category.LAUNCHER\" />\r\n\t            </intent-filter>\r\n\t        </activity>\r\n\r\n\t        <activity\r\n\t            android:name=\"com.airbnb.deeplinkdispatch.DeepLinkActivity\"\r\n\t            android:theme=\"@android:style/Theme.NoDisplay\">\r\n\t            <intent-filter>\r\n\t                <action android:name=\"android.intent.action.VIEW\" />\r\n\t                <category android:name=\"android.intent.category.DEFAULT\" />\r\n\t                <category android:name=\"android.intent.category.BROWSABLE\" />\r\n\t                <data android:scheme=\"foo\" />\r\n\t            </intent-filter>\r\n\t        </activity>\r\n\r\n\r\n\t    </application>\r\n\r\n\t</manifest>\r\n\r\n\r\n## build.gradle\r\n\r\n\r\n\tapply plugin: 'com.android.application'\r\n\tapply plugin: 'com.neenbedankt.android-apt'\r\n\r\n\tandroid {\r\n\t    compileSdkVersion 22\r\n\t    buildToolsVersion \"22.0.1\"\r\n\r\n\t    defaultConfig {\r\n\t        applicationId \"com.example.android.deeplinktest\"\r\n\t        minSdkVersion 17\r\n\t        targetSdkVersion 22\r\n\t        versionCode 1\r\n\t        versionName \"1.0\"\r\n\t    }\r\n\t    buildTypes {\r\n\t        release {\r\n\t            minifyEnabled false\r\n\t            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'\r\n\t        }\r\n\t    }\r\n\t}\r\n\r\n\tapt {\r\n\t    arguments {\r\n\t        androidManifestFile variant.outputs[0].processResources.manifestFile\r\n\t        resourcePackageName \"com.example.android.deeplinktest\"\r\n\t    }\r\n\t}\r\n\r\n\r\n\tdependencies {\r\n\t    compile fileTree(dir: 'libs', include: ['*.jar'])\r\n\t    compile 'com.android.support:appcompat-v7:22.2.1'\r\n\t    compile 'com.airbnb:deeplinkdispatch:1.3.0'\r\n\t    apt 'com.airbnb:deeplinkdispatch-processor:1.3.0'\r\n\r\n\t    apt \"org.androidannotations:androidannotations:3.2\"\r\n\t    compile 'org.androidannotations:androidannotations-api:3.2'\r\n\r\n\t}\r\n\r\n\r\n## Error message\r\n\r\n\r\n\tInformation:Gradle tasks [clean, :app:compileDebugSources, :app:compileDebugAndroidTestSources]\r\n\t:app:clean\r\n\t:app:preBuild UP-TO-DATE\r\n\t:app:preDebugBuild UP-TO-DATE\r\n\t:app:checkDebugManifest\r\n\t:app:preReleaseBuild UP-TO-DATE\r\n\t:app:prepareComAndroidSupportAppcompatV72221Library\r\n\t:app:prepareComAndroidSupportSupportV42221Library\r\n\t:app:prepareDebugDependencies\r\n\t:app:compileDebugAidl\r\n\t:app:compileDebugRenderscript\r\n\t:app:generateDebugBuildConfig\r\n\t:app:generateDebugAssets UP-TO-DATE\r\n\t:app:mergeDebugAssets\r\n\t:app:generateDebugResValues UP-TO-DATE\r\n\t:app:generateDebugResources\r\n\t:app:mergeDebugResources\r\n\t:app:processDebugManifest\r\n\t:app:processDebugResources\r\n\t:app:generateDebugSources\r\n\t:app:processDebugJavaRes UP-TO-DATE\r\n\t:app:compileDebugJava\r\n\tNote: Resolve log file to /Users/somghosh/Programming/DeepLinkTest/app/build/generated/source/apt/androidannotations.log\r\n\tNote: Initialize AndroidAnnotations 3.2 with options {androidManifestFile=/Users/somghosh/Programming/DeepLinkTest/app/build/intermediates/manifests/full/debug/AndroidManifest.xml, resourcePackageName=com.example.android.deeplinktest}\r\n\tNote: Start processing for 2 annotations on 4 elements\r\n\tNote: AndroidManifest.xml file found with specified path: /Users/somghosh/Programming/DeepLinkTest/app/build/intermediates/manifests/full/debug/AndroidManifest.xml\r\n\tWarning:A class activity declared in the AndroidManifest.xml cannot be found in the compile path: [com.airbnb.deeplinkdispatch.DeepLinkActivity]\r\n\tNote: AndroidManifest.xml found: AndroidManifest [applicationPackage=com.example.android.deeplinktest, componentQualifiedNames=[com.example.android.deeplinktest.MainActivity_], permissionQualifiedNames=[], applicationClassName=null, libraryProject=false, debugabble=false, minSdkVersion=17, maxSdkVersion=-1, targetSdkVersion=22]\r\n\tNote: Found project R class: com.example.android.deeplinktest.R\r\n\tNote: Found Android class: android.R\r\n\tNote: Validating elements\r\n\tNote: Validating with EActivityHandler: [com.example.android.deeplinktest.MainActivity]\r\n\tNote: Validating with AfterViewsHandler: [init()]\r\n\tNote: Processing root elements\r\n\tNote: Processing root elements EActivityHandler: [com.example.android.deeplinktest.MainActivity]\r\n\tNote: Processing enclosed elements\r\n\tNote: Number of files generated by AndroidAnnotations: 1\r\n\tNote: Writting following API classes in project: []\r\n\tNote: Generating class: com.example.android.deeplinktest.MainActivity_\r\n\tNote: Time measurements: [Whole Processing = 259 ms], [Extract Manifest = 178 ms], [Process Annotations = 32 ms], [Generate Sources = 18 ms], [Find R Classes = 14 ms], [Extract Annotations = 4 ms], [Validate Annotations = 4 ms], \r\n\tNote: Finish processing\r\n\tError:Error creating file\r\n\tNote: Start processing for 0 annotations on 3 elements\r\n\tNote: Time measurements: [Whole Processing = 0 ms], \r\n\tNote: Finish processing\r\n\tNote: Start processing for 0 annotations on 0 elements\r\n\tNote: Time measurements: [Whole Processing = 1 ms], \r\n\tNote: Finish processing\r\n\t1 warning"},"comment":{"url":"https://api.github.com/repos/excilys/androidannotations/issues/comments/139915114","html_url":"https://github.com/excilys/androidannotations/issues/1510#issuecomment-139915114","issue_url":"https://api.github.com/repos/excilys/androidannotations/issues/1510","id":139915114,"user":{"login":"felipecsl","id":190648,"avatar_url":"https://avatars.githubusercontent.com/u/190648?v=3","gravatar_id":"","url":"https://api.github.com/users/felipecsl","html_url":"https://github.com/felipecsl","followers_url":"https://api.github.com/users/felipecsl/followers","following_url":"https://api.github.com/users/felipecsl/following{/other_user}","gists_url":"https://api.github.com/users/felipecsl/gists{/gist_id}","starred_url":"https://api.github.com/users/felipecsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipecsl/subscriptions","organizations_url":"https://api.github.com/users/felipecsl/orgs","repos_url":"https://api.github.com/users/felipecsl/repos","events_url":"https://api.github.com/users/felipecsl/events{/privacy}","received_events_url":"https://api.github.com/users/felipecsl/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T20:32:51Z","updated_at":"2015-09-13T20:32:51Z","body":"didn't work either: `error: Annotation processor 'org.androidannotations.AndroidAnnotationsProcessor' not found`. I can't find neither processor"}}