{"action":"closed","issue":{"url":"https://api.github.com/repos/alibaba/freeline/issues/471","repository_url":"https://api.github.com/repos/alibaba/freeline","labels_url":"https://api.github.com/repos/alibaba/freeline/issues/471/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/freeline/issues/471/comments","events_url":"https://api.github.com/repos/alibaba/freeline/issues/471/events","html_url":"https://github.com/alibaba/freeline/issues/471","id":194915889,"number":471,"title":"Android studio插件0.8.3出错！！！！","user":{"login":"huangsanm","id":3191249,"avatar_url":"https://avatars.githubusercontent.com/u/3191249?v=3","gravatar_id":"","url":"https://api.github.com/users/huangsanm","html_url":"https://github.com/huangsanm","followers_url":"https://api.github.com/users/huangsanm/followers","following_url":"https://api.github.com/users/huangsanm/following{/other_user}","gists_url":"https://api.github.com/users/huangsanm/gists{/gist_id}","starred_url":"https://api.github.com/users/huangsanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huangsanm/subscriptions","organizations_url":"https://api.github.com/users/huangsanm/orgs","repos_url":"https://api.github.com/users/huangsanm/repos","events_url":"https://api.github.com/users/huangsanm/events{/privacy}","received_events_url":"https://api.github.com/users/huangsanm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-12-12T08:30:59Z","updated_at":"2016-12-13T09:38:29Z","closed_at":"2016-12-13T09:38:29Z","body":"版本：\r\nbuildscript {\r\n    repositories {\r\n        jcenter()\r\n    }\r\n    dependencies {\r\n        classpath 'com.android.tools.build:gradle:2.3.0-alpha1'\r\n        classpath 'com.antfortune.freeline:gradle:0.8.3'\r\n    }\r\n}\r\n\r\n\r\napply plugin: 'com.android.application'\r\napply plugin: 'com.antfortune.freeline'\r\n\r\nandroid {\r\n    compileSdkVersion 25\r\n    buildToolsVersion \"25.0.1\"\r\n    defaultConfig {\r\n        applicationId \"com.huashengmi.si\"\r\n        minSdkVersion 15\r\n        targetSdkVersion 25\r\n        versionCode 1\r\n        versionName \"1.0\"\r\n        testInstrumentationRunner \"android.support.test.runner.AndroidJUnitRunner\"\r\n    }\r\n    buildTypes {\r\n        release {\r\n            minifyEnabled false\r\n            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'\r\n        }\r\n    }\r\n}\r\n工程的freeline模块是通过插件自动添加后面运行报错：\r\n[INFO] preparing for tasks...\r\n[-][read_project_info_task] failed. in 10.5s\r\n[-][generate_file_stat_task] finished. in 0.0s\r\n[-][gradle_clean_build_task] failed. in 0s\r\n[-][clean_all_cache_task] failed. in 0s\r\n[-][install_apk_task] failed. in 0s\r\n[-][build_base_resource_task] failed. in 0s\r\n[-][generate_project_info_task] failed. in 0s\r\n[-][generate_apt_files_task] failed. in 0s\r\n[-][append_file_stat_task] failed. in 0s\r\n[ERROR] --------------------------------------------------------\r\n[ERROR] Freeline ERROR\r\n[ERROR] --------------------------------------------------------\r\nfreeline auto add runtime dependencies: 0.8.3\r\n\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nA problem occurred configuring project ':app'.\r\n> java.lang.NullPointerException (no error message)\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\n[ERROR] --------------------------------------------------------\r\n[ERROR] freeline failed when read project info with script: ./gradlew -q checkBeforeCleanBuild\r\n[ERROR] --------------------------------------------------------\r\n[DEBUG] Prepare tasks time: 0.1s\r\n[DEBUG] Task engine running time: 10.5s\r\n[DEBUG] Total time: 10.6s\r\n[DEBUG] --------------------------------------------------------\r\n"}}
{"actor":{"display_login":"lomanyong"}}