Tag: 机器人工作室

Android Studio卡在解决依赖关系的Gradle上

我是Android Studio的新手,在创build一个新的项目时,它坚持解决依赖关系:app:_debugCompile 。 我等了太久,甚至试图创build一个新的项目,但没有奏效。 以下是窗口的截图: 这里是build.gradle文件的内容: // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.0.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter() […]

在Android Studio中支持@SuppressWarnings值

Android Studio中的@SuppressWarnings所有支持值是什么? 我找不到任何文档,并且我知道它和Eclipse不一样,因为“null”不起作用。 你可以用“全部”来捕获空警告,但是你可以想象我宁愿不要。

找不到Android方面,使用Android Studio 0.2编译问题

所以,遵循这个SOpost的build议(抱歉,我会评论那里期望我没有足够的声誉) Gradle:FAILURE:无法确定要执行的任务 我从我的.iml文件中删除了标签,这使我可以编译。 但是当我在设备上运行.apk时,出现错误 “运行TestProject时出错:没有为TestProjectfindAndroid facet” 有人可以帮忙,只是想回到编写Android应用程序!

我的debuggingAndroidManifest.xml给我“无法解决符号错误”

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="ac.tec.oop.ahorcado.android" android:versionCode="1" android:versionName="1.0"> <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="16"/> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme"> <activity android:label="@string/app_name" android:name="ac.tec.oop.ahorcado.android.MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> </application> </manifest> 这些行给我“不能解决符号错误”,即使它们需要被引用的包明确写入。 我试图解决这个小时,但我不知道还有什么要做。 我正在使用Android Studio,并导致了很多问题。 android:icon="@drawable/ic_launcher android:label="@string/app_name" android:theme="@style/AppTheme"> android:name="ac.tec.oop.ahorcado.android.MainActivity">

在使用intellij的设备上INSTALL_FAILED_CPU_ABI_INCOMPATIBLE

我已经看到了一些关于这个问题,但没有真正的答案或细节。 这是我的情况: 我有一个应用程序,使用谷歌地图API V2工作得很好。 最近我发现,我不能安装在这个不基于ARM的设备上。 为了确定我正在使用随SDK提供的Google地图样本(\ sdk \ extras \ google \ google_play_services \ samples)的问题, 这在安装时给我同样的错误信息: Failure [INSTALL_FAILED_CPU_ABI_INCOMPATIBLE] 我只在使用Intellij(12.1.1)的真实设备上收到此消息, 在实际设备上使用Eclipse并在configuration了CPU的仿真器上使用Intellij,它可以正常工作:Intel Atom(x86) 任何帮助将不胜感激! UPDATE 不出所料,Android Studio也会发生同样的情况

Android Studio中的Eclipse“自定义debugging密钥库”的等价物是什么?

在使用Google Maps API时,我习惯于在Eclipse中使用自定义debugging密钥(实际上是我的生产密钥) 通过这种操作,我可以在debugging和发布版本中使用Google地图和大部分Google Play服务(在应用程序结算中)使用相同的API密钥。 这非常方便,因为不需要更改清单中的密钥。 不幸的是,随着Android Studio的迁移,我错过了这个function。 任何想法,我可以find这个选项吗? 非常感谢。

如何添加一个Android Studio项目到GitHub

我在Android Studio中有一个项目。 我想使用android studio将该项目添加到GitHub存储库。 我怎样才能做到这一点?

Android Studio:无法启动Git

当我启动Android Studio时,有一条消息 无法启动Git:C:\ Program Files(x86)\ Git \ cmd \ git.cmd可能Git可执行文件的path无效。 修理它。 但是我可以看到git.cmd就在那里。 那我该如何解决这个问题呢?

错误:原因:未指定buildToolsVersion

我创build了一个简单的项目,然后右键单击该项目,然后使用make mudole app选项。 现在我有两个build.gradle文件夹:1 build.gradle:project My Application 。 2- build.gradle: Mudole app 。 第一个build.gradle如下: // Top-level build file where you can add configuration options common to all sub-projects/modules. apply plugin: 'com.android.library' buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.3.0' // NOTE: Do not place your application dependencies here; they belong // in the […]

Android Studio快速文档总是“获取文档”

我只是从eclipse移动到Android的工作室,我发现,当我使用快速文档(Ctrl + Q),总是显示“提取文档”,如何解决这个问题?(我下载API19文档,仍然存在问题)