FORUMS

Google No Longer Sending Calendar SMS Notifications

In a not entirely surprising move, Google announced that it’s putting an … more

Enable Multi-Window Mode on M Developer Preview

What was not mentioned in yeterday’s keynote was Android M’s multi-window … more

I/O Summary: Google Cardboard Virtual Reality

One year ago, Google introduced cardboard. Amazingly enough, that was all it took to fire … more

Android M Preview Images – XDA TV

Android M preview images are available. That and much more news is covered by Jordan when he … more

[Guide] Create a CM Theme: From environment setup to publishing on Google Play

Thanks Meter: 10,557
 
By upndwn4par, Recognized Developer / Forum Moderator on 12th July 2014, 01:22 PM
Post Reply Subscribe to Thread Email Thread
22nd April 2015, 02:48 AM |#311  
Senior Member
Thanks Meter: 1,066
 
More
Quote:
Originally Posted by Arshid Vinod

This is what I get. #attached

You need to get a detailed logcat. One that shows the aapt error. How experienced are you at using styles in cm themes?
 
 
22nd April 2015, 02:49 AM |#312  
Arshid Vinod's Avatar
Junior Member
Flag Kannur
Thanks Meter: 2
 
More
Quote:
Originally Posted by hoppermi

You need to get a detailed logcat. One that shows the aapt error. How experienced are you at using styles in cm themes?

I'm new here! Learned everything from guides like this.
I've got the logcat. what to do now??
Last edited by Arshid Vinod; 22nd April 2015 at 02:53 AM.
22nd April 2015, 02:54 AM |#313  
Senior Member
Thanks Meter: 1,066
 
More
Quote:
Originally Posted by Arshid Vinod

I'm new here! Learned everything from guides like this.

Turn on USB debugging, install Catlog from play store to get easy log and try and install again. You should be able to scroll up the log to find the error. You probably have unsupported attributes in the style. Theme engine will pull what it needs from original apk, so only include the items you are changing, in this case the one I gave you. If it still errors screen shot the error and post it here
22nd April 2015, 03:12 AM |#314  
Arshid Vinod's Avatar
Junior Member
Flag Kannur
Thanks Meter: 2
 
More
Quote:
Originally Posted by hoppermi

Turn on USB debugging, install Catlog from play store to get easy log and try and install again. You should be able to scroll up the log to find the error. You probably have unsupported attributes in the style. Theme engine will pull what it needs from original apk, so only include the items you are changing, in this case the one I gave you. If it still errors screen shot the error and post it here

Here is the screenshot of the logcat!

Edit: I found the error but can't figure out how to fix it.
"No resource found that matches the given name:attr'android:statusbarcolor' "
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-04-22-07-40-01.png
Views:	40
Size:	69.8 KB
ID:	3275409  
Last edited by Arshid Vinod; 22nd April 2015 at 03:21 AM.
22nd April 2015, 03:18 AM |#315  
Senior Member
Thanks Meter: 1,066
 
More
Quote:
Originally Posted by Arshid Vinod

Here is the screenshot of the logcat!

There are no errors on that screen. The errors have a red box with an E in it. Search for aapt

---------- Post added at 10:18 PM ---------- Previous post was at 10:15 PM ----------

Quote:
Originally Posted by Arshid Vinod

Here is the screenshot of the logcat!

I have to go to sleep. Pastbin your styles.xml and link it here and I will look at it in the morning
22nd April 2015, 12:28 PM |#316  
Senior Member
Thanks Meter: 1,066
 
More
Quote:
Originally Posted by Arshid Vinod

Here is the screenshot of the logcat!

Edit: I found the error but can't figure out how to fix it.
"No resource found that matches the given name:attr'android:statusbarcolor' "

https://developer.android.com/traini...ial/theme.html There are some great guides on the android developer website dealing with styles. this is one that shows how to use styles to change status bar.

Also, xml is case sensitive. Make sure you are using capital letters in the right spots
Last edited by hoppermi; 22nd April 2015 at 12:31 PM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes