Problems with Android Studio and NDK - Android Studio

Good evening everyone!
Use Android Studio 1.5.1 on Mac OS X 10.11.3.
I need to compile an app that uses a library in C and I'm trying to configure for several nights Studio.
I downloaded the plugin Gradle 2.10 and 2.11 but I can not fill.
The situation in which they arrived is the following:
Android Studio 1.5.1
In Project Structure is configured Gradle 2:10
Android plugin version 2.0.0-Alpha7
Android NDK location configured with PATH dell'ndk I downloaded from the link in Project structure
Now, configuring the file with ../app/build.gradle apply plugin: 'com.android.model.application' I get the error
Error: (1, 0) Plugin with id 'com.android.model.application' not found.
Why? What am I doing wrong?
Thank you!
Roberto

Related

Java SE support in browser

Hi all,
As the android OS is built up on Java I assumed I could use java websites -- i no know this is not true as google have there own version.
I currently have root access on my standard rom .. is there a way I can add Java support to my nexus one 2.2.1?

New project - Just Installed - Rendering problem

I get the following error after trying to create my first project:
Rendering Problems This version of the rendering library is more recent than your version of Android Studio. Please update Android Studio (Details)
Click to expand...
Click to collapse
In addition I can find "aidl is missing" error in the build log
This is how my screen look like:
i.imgur.com/PdSw2qW.png
What could have been going wrong in just creating a new project..
TheUnrealz said:
I get the following error after trying to create my first project:
In addition I can find "aidl is missing" error in the build log
This is how my screen look like:
i.imgur.com/PdSw2qW.png
What could have been going wrong in just creating a new project..
Click to expand...
Click to collapse
Me too. I just downloaded the latest JDK (64 bit) and Android SDK. I followed the tutorial from the developer.android but I can't get beyond the error.
Please help.
Fix for rendering issue
Hello,
For the issue This version of the rendering library is more recent than your version of Android Studio. Please update Android Studio. .... click the android icon on the right side top of the rendering window and choose API 21: Android 5.0.1. The icon might have the letters MNC beside it.
Bill
billlock said:
Hello,
For the issue This version of the rendering library is more recent than your version of Android Studio. Please update Android Studio. .... click the android icon on the right side top of the rendering window and choose API 21: Android 5.0.1. The icon might have the letters MNC beside it.
Bill
Click to expand...
Click to collapse
The IDE said I was up to date. I changed a version setting in one of the XML files and got it running, but this morning the IDE seems messed up. Loads of errors on launching and I could even find my previous projects. When I found and loaded one there were yet more errors. I have now uninstalled the IDE and SDK and will reinstall it to see if that stabilises things.
I'll update this post later.
billlock said:
Hello,
For the issue This version of the rendering library is more recent than your version of Android Studio. Please update Android Studio. .... click the android icon on the right side top of the rendering window and choose API 21: Android 5.0.1. The icon might have the letters MNC beside it.
Bill
Click to expand...
Click to collapse
Please view the image I have posted in the first post. I can choose only API 22.
This is what worked for me. Hopefully it will work for you
Uncheck 'Automatically the best'
Select 'API 22: Android 5.1.1'
billlock said:
Hello,
For the issue This version of the rendering library is more recent than your version of Android Studio. Please update Android Studio. .... click the android icon on the right side top of the rendering window and choose API 21: Android 5.0.1. The icon might have the letters MNC beside it.
Bill
Click to expand...
Click to collapse
done that and the fragment shown but i steel have the error when i run/debug the app
(and me the same..never done anything else just opened a new project and problem was there)
bump

Running android studio project

Hello,
I'm trying to run Android studio project, but when I run (clicking the run button) it show me the developement phone with an old version of another app I have made before.
Why? how I can view the actual app I'm working on?
you can select which project to run

Problems with Windows 10 and Android Studio ?

Hi,
I've recently reinstalled my machine and put windows 10 on it. It's a clean install and I've only installed the jdk from oracle and android studio so far.
The problem occurs when I try to create a new project.
I basically just click new project/next/next/next to get a blank activity with minimum sdk api level 15, but when the project opens, I start out with two errors in values-v23.xml
Error2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
Error2) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
Using Android Studio v1.3.1.
Any thoughts to what is wrong ?
/Steen
[email protected] said:
Hi,
I've recently reinstalled my machine and put windows 10 on it. It's a clean install and I've only installed the jdk from oracle and android studio so far.
The problem occurs when I try to create a new project.
I basically just click new project/next/next/next to get a blank activity with minimum sdk api level 15, but when the project opens, I start out with two errors in values-v23.xml
Error2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
Error2) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
Using Android Studio v1.3.1.
Any thoughts to what is wrong ?
/Steen
Click to expand...
Click to collapse
Someone else seems having the same problem:
http://stackoverflow.com/questions...ndroid-studio-after-update-no-resource-found
Ciuffy's SM-G900F CM 12.1 spirit hath marked this way. Thank if helped your soul.
Ciuffy said:
Someone else seems having the same problem:
....(URL removed)
Ciuffy's SM-G900F CM 12.1 spirit hath marked this way. Thank if helped your soul.
Click to expand...
Click to collapse
Thanks for the link. That did the trick for me

Knowing more about developing

Please I need help on how to develop an android app
Android Studio is usually the place to start. It's an IDE for building apps.
Download Android Studio & App Tools - Android Developers
Android Studio provides app builders with an integrated development environment (IDE) optimized for Android apps. Download Android Studio today.
developer.android.com
It is possible to build apps just using just the command line.
Use the link above and scroll down to Command line tools only.

Categories

Resources