Android Studio若干问题
来源:互联网 发布:java的职业规划 编辑:程序博客网 时间:2024/06/06 02:09
solution:Actually, this problem seems to be limited to devices with Play Store available, so Nexus 5X and Nexus 5 images will be forced to use Automatic Graphics, but all other devices allow you to choose either Automatic, Hardware or Software graphics.
2.the android gradle plugin version 3.0.0-alpha1 is too old
While building a default project (black template) on Android Studio 3.0 Canary 1, I got the below error.
The android gradle plugin version 3.0.0-alpha1 is too old, please update to the latest version. To override this check from the command line please set the ANDROID_DAILY_OVERRIDE environment variable to "d27b293f4c7c48dfe922ba160164f3fa511cb3b9" Upgrade plugin to version 3.0.0-alpha1 and sync project Open File
solution:Your code may be containing an outdated gradle plugin version (may be alpha1
, or something like that) in your project build.gradle file. Update it to the latest alpha4
plugin like below:
dependencies { classpath 'com.android.tools.build:gradle:3.0.0-alpha4'}
3. Emulaor in Android Studio does't start
I think it's a problem with the SDK reference in Project Structure, but when I click run and I choose Launch Emulator nothing appears.
solution:
For emulator crashing seconds after launch in Android Studio 2.3.1 or later: Open Android Virtual Device Manager, select your AVD, select "Edit this AVD", in the new window (Virtual Device Configuration), goto Emulated Performance > Graphics and select the "Software (GLS)" option. This problem might be caused by: 1) Outdated graphics card drivers. 2) Older graphics cards, not properly supported by the generic Windows 8 (or newer) drivers.
4. Android Studio 3.0 & Ubuntu 16.04 emulator donot sart
Message:waiting emulator come on line.
solution:
sudo apt-get install lib64stdc++6:i386sudo apt-get install mesa-utils(look for the path of the sdk)cd YOURPATH/Android/Sdk/emulator/lib64mv libstdc++/ libstdc++.bakln -s /usr/lib64/libstdc++.so.6 libstdc++Finally, run your application again using emulator.
5.
- Android Studio若干问题
- Android Studio创建AIDL的若干问题
- android studio引入module时出现的若干问题
- Visual Studio 2017 调试若干问题
- android开发若干问题
- 安装android遇到的若干问题
- 关于android联网的若干问题
- Android NKD环境搭建 若干问题.
- android蓝牙打印的若干问题
- Android JNI的若干问题总结
- Android JNI的若干问题总结
- android自定义相机若干问题解决方案
- Android JNI的若干问题总结
- Android JNI的若干问题总结
- android开发adb的若干问题
- 若干问题
- Android起步 - 关于Eclipse的若干问题
- android编程中容易遇到的若干问题
- R_等高图
- 2017-10-15离线赛
- 简单筛法判断两整数间的素数
- updateByPrimaryKey和updateByPrimaryKeySelective insert和insertSelective
- App安全增强——我来帮你写C++
- Android Studio若干问题
- Git和Github简单教程
- 最新angular cli 安装教程(angular4 )
- Linux文本处理三剑客之sed命令
- UTF-8编码规则(转)
- 给HTML的span设置值
- 【转】如何使用应用日志(Application Log)
- Unity启动外部程序(Process)
- 身份证、银行卡 js正则校验