Tag: aidl

aidl缺lessandroid studio

Environment: Mac OS 10.10.3 Android studio:1.2.11 grandle:2.2.1 日志: Information:Gradle tasks [:generateDebugSources, :generateDebugTestSources] :preBuild :preDebugBuild :checkDebugManifest :prepareDebugDependencies :compileDebugAidl FAILED Error:Execution failed for task ':compileDebugAidl'. > aidl is missing // Top-level build file where you can add configuration options common to all sub-projects/modules. import org.gradle.internal.os.OperatingSystem buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.0.0' } } […]

我怎样才能将aidl文件添加到Android工作室(从应用程序开票示例)

我目前正在将Eclipse应用程序迁移到Android Studio。 这个应用程序正在使用应用程序结算。 我的主要问题是编译项目和aidl文件(我想你们都使用这个文件 ) 我得到这个错误消息: Gradle: error: cannot find symbol class IInAppBillingService Gradle: error: package IInAppBillingService does not exist 所以,按照一些教程,我将这个文件从com.mypackage.billing移动到src / main / aidl(请参阅此参考 ) 但是一旦我这样做,我就会得到这样的信息: Gradle:任务':xxxxxxxxxxx:compileDebugAidl'的执行失败。 无法运行命令:(…)C:\ Users \ xxxx \ AndroidStudioProjects \ xxxxxxProject \ xxxxxxx \ src \ main \ aidl \ IInAppBillingService.aidl:45接口IInAppBillingService应该在一个名为com \ xxxxxxxx \ billing \ IInAppBillingService .aidl。 这个消息显然与上面链接的Google bug页面的post相矛盾。 […]

执行失败的任务':app:compileDebugAidl':aidl缺失

我在电脑上安装了Android Studio。 我创build了一个新的项目,但是我得到了下面的错误。 我能做什么? Error:Execution failed for task ':app:compileDebugAidl'. > aidl is missing 我的Android Studio版本是1.1.0 。 这是我的build.gradle文件: buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.1.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter() } } 和: […]