您好,欢迎来到二三娱乐。
搜索
您的当前位置:首页Git repository and android UI te

Git repository and android UI te

来源:二三娱乐
  • Sometimes the project is created somewhere else,we need to fork in to my own.
  • Use git bash,change to appropriate folder,do git clone.
  • Make changes to the project.
  • Trey first use gradlew to test if the new project works well.
    in git bash,
.\gradlew assembleDebug
.\gradlew assembleDebugAndroidTest

if sometimes,error likes "sdk location not found",do this :
create a file in the project root folder : local.properties,in which add something like this :

sdk.dir=C\:\\Users\\...\\AppData\\Local\\Android\\Sdk

or just set android_home

set ANDROID_HOME=C:\<installation location>\Sdk
set PATH=%PATH%;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools

then try again build applications with gradlew,outputs should be in

app\build\outputs\apk
  • If project works well,do
git add app/src/androidTest/.../.../.../....java
git commit -m "..."
git push
  • In the other repository,do pull request.

Copyright © 2019- yule263.com 版权所有 湘ICP备2023023988号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务