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
Related
Hello I'm trying to compile cyanogenmod 7 with subskyper tass device to try to mantain this project update in line with the original philosophy: keep it 100% cyanogenmod without any tweaks
When I compile I face two errors that broke my compilation:
1-
device/samsung/tass/overlay/frameworks/base/core/res/res/values/config.xml:95: error: Resource at swap_volume_keys_orientation appears in overlay but not in the base package; use <add-resource> to add.
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Errore 1
make: *** Eliminazione del file "out/target/common/obj/APPS/framework-res_intermediates/package-export.apk"
make: *** Attesa per i processi non terminati....
This one I commented out the line reguarding swap_volume_keys_orientation in file
device/samsung/tass/overlay/frameworks/base/core/res/res/values/config.xml
but when i continue...
2-
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/tass/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/AndroidRuntime.o: in function android::gRegJNI:AndroidRuntime.cpp(.data.rel.ro+0x148): error: undefined reference to 'register_android_hardware_fm_fmradio(_JNIEnv*)'
collect2: ld returned 1 exit status
make: *** [out/target/product/tass/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/LINKED/libandroid_runtime.so] Errore 1
make: *** Attesa per i processi non terminati..
Someone faced same problems?
Any ideas?
thanks a lot
Send PM With The Error To Subpsyke
t-r-e said:
Send PM With The Error To Subpsyke
Click to expand...
Click to collapse
done. I hope he will answer me cause I'm able to sync repos in a couple of hours, so it will be easy to mantain pure cyanogenmod 7 for our sgm.
mebitek said:
done. I hope he will answer me cause I'm able to sync repos in a couple of hours, so it will be easy to mantain pure cyanogenmod 7 for our sgm.
Click to expand...
Click to collapse
Best Luck Buddy Don't Give Up Early , We Look Forward To See Your Work As We Need To Keep Subpsyke Project Alive
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld:
Click to expand...
Click to collapse
Are you using 32-bit linux system ?
If yes, then I guess 64-bit is necessary to get things compiled properly without errors.
NB: Just sharing info.
coolsandie said:
Are you using 32-bit linux system ?
If yes, then I guess 64-bit is necessary to get things compiled properly without errors.
NB: Just sharing info.
Click to expand...
Click to collapse
Thanks for the reply but I think that this kind of error is a missing reference for the function register_android_hardware_fm_fmradio that is called from AndroidRuntime.cpp
32 or 64 bit it is no differnce in compile result. just speed....
However I've checked tass configuration and I see that fm radio is set to BCM2049 chip.
I checkd into frameworks/base/core/jni/ cm source tree directory and I found only fm hardware reference for :
bcm4325
si4708
si4709
wl1271
now I'm trying to compile again setting radio to bcm4325 just to see if something appens...
P.S. should be nice to have some tecnical ideas about the code error not only if the host system is well configured
P.P.S. changed values to bcm4325 let me not face errors no more. Now I'm compiling!!!!
I have checked some github projects and I see that a lot of device as sgm with bcm2049 fm chipset set it to bcm4325. I see that just subskype change that value to bcm2049. Should be nice to have some tip and tricks from him to understand well the point of the situation
Now I have a signed zip to flash into my sgm.
It contains subskype cm7.2 tass device configuration and latest cm 7.2 sources update at 31-01-2012.
to check changes:
http://review.cyanogenmod.com/#q,status:open,n,z
It works!!! finally compiled and booting successfully.
Now I'm trying to study the best way to mantain this kind of project (it's first time for me in android dev and I just have an android device by november).
first at all I was thinking to add V6 supercharge by default. what do you think?
mebitek said:
It works!!! finally compiled and booting successfully.
Now I'm trying to study the best way to mantain this kind of project (it's first time for me in android dev and I just have an android device by november).
first at all I was thinking to add V6 supercharge by default. what do you think?
Click to expand...
Click to collapse
Great news. Glückwunsch (don't know the english word at the moment).
Supercharger would be possibly good. Subpsyke said something to it but i don't rember clearly.
Keep up your work.
Sent from my GT-S5570 using xda premium
mebitek said:
It works!!! finally compiled and booting successfully.
Now I'm trying to study the best way to mantain this kind of project (it's first time for me in android dev and I just have an android device by november).
first at all I was thinking to add V6 supercharge by default. what do you think?
Click to expand...
Click to collapse
No not add anything. It s better. Completely clean
Inviato dal mio GT-S5570 usando Tapatalk
mebitek said:
Thanks for the reply but I think that this kind of error is a missing reference for the function register_android_hardware_fm_fmradio that is called from AndroidRuntime.cpp
32 or 64 bit it is no differnce in compile result. just speed....
However I've checked tass configuration and I see that fm radio is set to BCM2049 chip.
I checkd into frameworks/base/core/jni/ cm source tree directory and I found only fm hardware reference for :
bcm4325
si4708
si4709
wl1271
now I'm trying to compile again setting radio to bcm4325 just to see if something appens...
P.S. should be nice to have some tecnical ideas about the code error not only if the host system is well configured
P.P.S. changed values to bcm4325 let me not face errors no more. Now I'm compiling!!!!
I have checked some github projects and I see that a lot of device as sgm with bcm2049 fm chipset set it to bcm4325. I see that just subskype change that value to bcm2049. Should be nice to have some tip and tricks from him to understand well the point of the situation
Click to expand...
Click to collapse
For the radio, I used my patch to add support for the bcm2xxx devices with proper seeking. It's on gerrit here: http://review.cyanogenmod.com/#change,10358
mebitek said:
It works!!! finally compiled and booting successfully.
Now I'm trying to study the best way to mantain this kind of project (it's first time for me in android dev and I just have an android device by november).
first at all I was thinking to add V6 supercharge by default. what do you think?
Click to expand...
Click to collapse
no no...no v6.
Just vanilla cm7...and thanks for the initiative and ABT!
dont add scripts..but maybe something from cm gerrit if u wish..but then it'll not be vanilla.
I'm having problems in creating an Xposed module, especially in importing the XposedBridgeAPI in Android Studio.
Since the development tutorial is made for Eclipse, I don't have any reference points...
At first, I tried to import it the "normal" way in gradle build script, with different locations for the XposedBridgeApi.jar, first in libs/ folder, then outside the project folder, both times including it in build.gradle with:
Code:
compile files('libs/XposedBridgeApi-54.jar')
It built successfully, and I could install and activate in Xposed Installer, but after rebooting the module didn't work and I got a "java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation".
I googled it, and found this: Same problem, @rovo89's answer.
So I tried to find a different way of including the XposedBridgeApi, without including it into the apk, and found this: Link
Sadly, it didn't work, I couldn't do the last step with compileSdkVersion, it said the this target isn't available...
So, is anyone successfully using Android Studio for making Xposed modules? Anybody having same problem?
Cheers, and thanks in advance,
Max
Replace "compile" with "provided".
GermainZ said:
Replace "compile" with "provided".
Click to expand...
Click to collapse
Oh my god that is simple...why I didn't find that? Thank you very much, you're the best!
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
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
Hello I´m trying to build an APP called zoomgesturetile from the authors GitHub. But when I want to build the APK, I get this Error:
Something wrong with the Maven Repository I guess. I never used Android Studio, so it would be nice if someone could help me out here, or may look into the code if he or she can compile it.
Thank you for your help