in ~/Desktop/SECOND/FtcRobotController/TeamCode/build.gradle added a few lines in order to add in terkel and FTC-Team-25/2020
Must then click on the elephant with the down-arrow in order to sync project with gradle files
if we pull down FtcRobotController and it can't find all the SDK classes, then
make sure you get the FtcRobotController from github.com/RobotGirls
and then look at master-5218-2022, which has the dependencies fixed in build.dependencies.gradle
then in android studio build->clean project.
click on the elephant to resync gradle files
and then rebuild
License for package Android SDK Build-Tools 29.0.2 not accepted.
Then go to Android Studio Help and Check for Updates. There's popup notification in the left hand bottom corner. then click update on that popup notification. then it will bring up the first license andclick accept. then click second license is on the right hand side. click that one
Note that had to install a particular version of jdk to go with Android Studio
java version "1.8.0_271" works, and my android studio version is 4.1.1
=========================
If that doesn't work, in Android Studio, try Tools->SDK Manager
IMPORTANT: Android Studio comes with a JDK
mac: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin $ ./java -version
openjdk version "1.8.0_242-release"
OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
OpenJDK 64-Bit Server VM (build 25.242-b3-6222593, mixed mode)
windows: C:\Program Files\Android\Android Studios\jre\jdk
==========================
For Dominique: Need to reset JAVA_HOME
https://javatutorial.net/set-java-home-windows-10
https://www.codejava.net/java-core/how-to-set-environment-variables-for-java-using-command-line
Control Panel->System->Advanced System Settings->Environment Variables
New System Variable. Update the "Path" environment variable and add %JAVA_HOME%\bin
How to set JAVA_HOME in windows:
windows: C:\Program Files\Android\Android Studios\jre\jdk
OR via command line
setx JAVA_HOME "C:\Program Files\Java\jdk1.8.0"
or for Android Studio
setx JAVA_HOME "C:\Program Files\Android\Android Studios\jre\jdk"
setx PATH "%PATH%;%JAVA_HOME%\bin";
The setx command permanently updates the environment variables. To add/update system environment variables, you must use the -m switch and open the command prompt using Administrator privilege: Click Start, type cmd. When the cmd.exe icon appears, right click and select Run as administrator.
To add/update system environment variables:
setx -m JAVA_HOME "C:\Program Files\Java\jdk1.8.0"
or for Android Studio
setx -m JAVA_HOME "C:\Program Files\Android\Android Studios\jre\jdk"
setx -m PATH "%PATH%;%JAVA_HOME%\bin";
----------------------
Open a new command prompt and type in:
echo %JAVA_HOME%
verify by typing "javac -version"
=========================
C:\Users\x1\AppData\Local\Android\sdk\tools\bin
sdkmanager.bat --licenses
=========================
export JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee'
https://macpaw.com/how-to/best-mac-cleaner-software
To fix the gradle issue below: we exited Android Studio, then deleted ~/.gradle
how to update to Android Studio 4.1: In Android Studio application, click on Android Studio->Check for Updates
<--
Using two expansion hubs
Cindy11/11/2020
https://www.reddit.com/r/FTC/comments/45ax88/help_how_to_manually_update_the_driver_station/
r/FTC - [help] How to manually update the driver station app on the...
3 votes and 4 comments so far on Reddit
Emily11/11/2020
1. Directly plugged into control hub to laptop via usb cord
[11:36 PM]
2. Pushed play and then there was a fail because similar package already existed and notification to uninstall FTC driver station on phone
[11:37 PM]
3. Uninstalled FTC driver station from phone
[11:37 PM]
4. Pushed play again on Android studio and run was successful!
[11:40 PM]
5. Reinstalled FTC driver station on android phone. Because android phone was model/very older version 4.4.4, I googled “FTC driver station app for 4.4.4” and found this link to download.
==========================================================
[11:45 PM]
OLD APK
I used this link to reinstall: https://m.apkhere.com/down/com.qualcomm.ftcdriverstation_4.0_free
ApkHere Market
Download FTC Driver Station 4.0 apk free - ApkHere.com
Download FTC Driver Station 4.0 apk free - ApkHere.com
==========================================================
NEW APK
https://github.com/FIRST-Tech-Challenge/FtcRobotController/releases
==========================================================
https://www.reddit.com/r/FTC/comments/45ax88/help_how_to_manually_update_the_driver_station/
==========================================================
[11:48 PM]
I googled this on the chrome app from the DS phone. I pressed “ok” for warning that downloading from the site even though it might be harmful. After downloading, I had to enable “Unknown sources” in settings —> security on android phone to open download in “Downloads” app. Then, FTC driver station app automatically installed
Control Hub Name: Test1-RC, Password: robotgirls. or password
https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/Using-TensorFlow-Lite-for-the-Ultimate-Goal-Challenge
Could not resolve :tensorflow-lite-0.0.0-nightly:
Could not determine the dependencies of task ':TeamCode:compileDebugJavaWithJavac'.
Could not resolve all task dependencies for configuration ':TeamCode:debugCompileClasspath'. Could not find :tensorflow-lite-0.0.0-nightly:.
Required by: project :TeamCode Possible solution: - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html