偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

Android Studio問題匯總

移動(dòng)開發(fā) Android
今天用android studio從git下載項(xiàng)目的時(shí)候遇到一個(gè)問題,提示說Can't run Git: git.exe。下了一個(gè)git windows版本后,在studio的設(shè)置里面有一個(gè)設(shè)置。設(shè)置git.exe的路徑為本地的有效路徑,點(diǎn)擊apply后,搞定......

一、git.exe問題

今天用android studio從git下載項(xiàng)目的時(shí)候遇到一個(gè)問題,提示說Can't run Git: git.exe。下了一個(gè)git windows版本后,在studio的設(shè)置里面有一個(gè)設(shè)置。

設(shè)置git.exe的路徑為本地的有效路徑,點(diǎn)擊apply后,搞定。

二、attach source code

android studio貌似有個(gè)bug,如果***次設(shè)置的SDK路徑里不包含source,那么后期使用SDK Manager下載了source后,還是無法查看。

解決辦法:

1、close all project

具體close方法:File -> Close Project

2、Welcome to Android Studio screen, go to Configure > Project Defaults > Project Structure > SDKs

重新選擇SDK路徑,當(dāng)然我們可以選擇上次的路徑

3、重新打開project

說明:在重新設(shè)置上次的SDK路徑后,再次打開項(xiàng)目就有source code了。

如果還不行的話,可以參考下面的方法:

  • Close all open projects
  • From the Welcome to Android Studio screen, go to Configure > Project Defaults > Project Structure > SDKs
  • Choose the appropriate Android API SDK that you installed source for, and go to Sourcepathpanel
  • Press the + button, and choose the source directory.

或者

Another approach would be to blow away all of Android Studio's auto-created SDKs and let it rebuild them. To do that

  • Exit Android Studio
  • Delete the jdk.table.xml file, which on MacOS will be in your home directory underLibrary/Preferences/AndroidStudioPreview
  • Relaunch Android Studio
  • Go into Project Structure (either from the Welcome screen or from a project), and choose theAndroid SDK tab
  • Make sure the Android SDK location and JDK location are correct.

三、Google Play商店無法上傳應(yīng)用

提示上傳了可調(diào)試 APK文件。由于使用的是studio開發(fā),一度懷疑是gradle的問題。后來發(fā)現(xiàn)是依賴的第三方庫在manifest.xml文件定義了debugger=true,坑爹!

責(zé)任編輯:閆佳明 來源: oschina
相關(guān)推薦

2015-11-27 12:59:11

Android技巧提高效率

2015-01-07 15:21:30

Android Stu代碼格式化

2010-09-15 09:20:40

2011-08-12 09:52:35

iPhone開發(fā)TableviewUITextField

2014-03-18 13:27:55

Redis數(shù)據(jù)存儲(chǔ)

2009-09-22 09:22:03

.NET常見問題

2012-02-06 10:37:07

Java

2013-08-21 14:57:42

objective-c問題

2010-05-13 13:27:23

2009-07-22 08:59:01

Windows xp升Windows 7系統(tǒng)升級(jí)

2010-02-03 16:32:13

2010-07-21 09:29:33

Perl常見問題

2020-12-28 11:08:18

MySQL數(shù)據(jù)庫服務(wù)器

2010-08-17 09:16:23

2020-10-18 12:00:27

前端開發(fā)架構(gòu)

2013-08-13 10:59:03

Android Stu啟動(dòng)

2013-07-04 15:05:14

Android

2009-09-02 16:53:27

郵件服務(wù)器

2015-06-08 10:02:40

swiftOC兼容

2010-09-27 11:33:35

無線路由器掉線
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)