Comments (18)
I have seen this error before. You most likely haven't installed the correct Android SDK versions. Post a picture of your SDK Manager? You need to install Build Tools v21 and a few tools.
from ftc_app.
@WardBenjamin @Based-Brian10 You need to have the following SDK items installed according to the project configuration.
API 19 (SDK and Google APIs for ARM)
Build Tools v 21.1.2
This is contrary to the manual which instructs you to install API 21, but if you do this you will then need to install API 19 in order to run the project as it exists currently
from ftc_app.
Brian, you may have not run a gradle build yet. Dependencies such as the ftc sdk won't work until you build your project.
Thank you,
- Jaxon Brown
On Sep 29, 2015, at 7:21 PM, Kevin Emery [email protected] wrote:
@WardBenjamin @Based-Brian10 You need to have the following SDK items installed according to the project configuration.
API 19 (SDK and Google APIs for ARM)
Build Tools v 21.1.2This is contrary to the manual which instructs you to install API 21, but if you do this you will then need to install API 19 in order to run the project as it exists currently
—
Reply to this email directly or view it on GitHub.
from ftc_app.
Sync with Gradle (running a build will do this).
from ftc_app.
@Based-Brian10 If you are still having this issue; It appears that you have an error in your build.gradle, take a look at that and if you can not figure it out please post a screencap here so that we may help you out. I wish you luck!
from ftc_app.
To second what others have been saying, we have seen this occur frequently before doing a Gradle Sync/Build. If you click "Build" (in the topmost menu) and then "Make Project", it should fix itself after a few seconds (wait until "Gradle Build Running" disappears from the bottom bar).
from ftc_app.
I've experienced the case where a misconfigured firewall/content filter combined with JVM certificate validation with HTTPS caused this issue as Gradle tried to fetch artifacts from JCenter. Could you post the Gradle log, as seen by "Show logs in explorer", as a gist, and providing a link to that gist here?
from ftc_app.
from ftc_app.
from ftc_app.
@hexafraction I can't understand your question.
from ftc_app.
You are putting Java code in your gradle script, so it obviously is going to fail. Reset FtcRobotController/build.gradle to how it was and then put your MecanumDefaultCode in its own .java file.
from ftc_app.
@calebsander how can I reset the code?
from ftc_app.
Download the file from this repository and replace your current version with it.
from ftc_app.
@calebsander How do I put my Mecanum code in its own file?
from ftc_app.
@Based-Brian10 @calebsander
Or you could use the 'git reset' command in git bash. https://git-scm.com/docs/git-reset
@Based-Brian10 Here is how you should go about creating a new op mode:
Also be careful. The code visible in one of the screenshots you sent is NOT java. It actually looks like a wierd mixture between Java and WPILib from FRC last season.
More information on how to set Android Studio/IntelliJ IDEA up for FTC can be found here:
https://raw.githubusercontent.com/ftctechnh/ftc_app/master/doc/tutorial/FTCTraining_Manual.pdf
Especially from pages 87-108.
Hope I could help.
from ftc_app.
Thanks to everyone who has assisted in this thread. I am going to close this item out. We would like to use this database to track verified issues/bugs with the systems. Requests for assistance should be directed to the FTC Technology forum, or in this case to the Android Studio subforum:
http://ftcforum.usfirst.org/forumdisplay.php?159-Android-Studio
from ftc_app.
And I am having troubles my team wants me to program the robot to go straight then turn and thiks is my first year doing android could I get a push in the right direction for this program
from ftc_app.
@TheOutlaws This is not the correct venue for support. Please use the FTC official subforums for: New FTC Technology and New FTC Technology > Android Studio.
from ftc_app.
Related Issues (20)
- Hardware remains powered on app restart HOT 6
- Incorrect motor configuration data HOT 6
- How to send data through i2c? trying to communicate with Pixy2 camera HOT 3
- OnBot SDK is different than Android Studio SDK HOT 13
- v5.0 SDK Available HOT 4
- no link to 5.0 HOT 1
- Robot Controller Does not See Rev Expansion Hub
- BUG: OnBot Java overwrites files HOT 19
- Robot Controller does not detect more than 1 device HOT 6
- Pairing and troubleshooting instructions absent HOT 1
- OnBotJava loses Intellisense HOT 1
- Error in code is pointing to non existent source files HOT 4
- Op mode stuck in the init (HELP) how do we get rid of this message HOT 1
- I can't press the Init Button HOT 8
- RC stuck in initialization w/ warning contains RUN_TO_POSITION HOT 3
- Robot Controller Will Not Connect To REV Expansion Hub HOT 8
- Webcam Consistently Crashing on Init HOT 11
- Wiki update: no instant run in AS v. 3.5 or higher HOT 2
- LynxModule retransmitting happens randomly in autonomous run, block TeamCode from execution half second to 2 seconds. HOT 4
- Driver for Grove AS5600 magnetic rotary position sensor HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ftc_app.