FORUMS
Remove All Ads from XDA
Post Reply Email Thread
Mod delete no contributions anymore.
The Following 44 Users Say Thank You to codekidX For This Useful Post: [ View ] Gift codekidX Ad-Free
28th June 2014, 07:13 PM |#2  
codekidX's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 2,042
 
Donate to Me
More
Delete this thread
The Following 15 Users Say Thank You to codekidX For This Useful Post: [ View ] Gift codekidX Ad-Free
27th January 2015, 06:51 PM |#3  
nexttjme's Avatar
Senior Member
Thanks Meter: 185
 
More
i followed the tut and everything worked really well . Thanks!
11th June 2015, 10:09 AM |#4  
Member
Flag Mumbai
Thanks Meter: 5
 
More
??
Hah! Mumbai eh? Me too!

Gotta ask - since your tutorial was for Roboto Light on CM11... do you have the finished apk? I have the one from Project Sparky, but it doesn;t stick on CM12
28th June 2014, 07:28 PM |#5  
TheWeasl's Avatar
Senior Member
Flag Weaslhausen
Thanks Meter: 333
 
More
Very nice! 2 thumbs up!!
The Following User Says Thank You to TheWeasl For This Useful Post: [ View ] Gift TheWeasl Ad-Free
30th June 2014, 04:53 AM |#6  
tflogic's Avatar
Senior Member
Thanks Meter: 80
 
More
Hi, codekidX. So I tried to make a font on my own but ran into a problem. I followed your tutorial all the way to Step 4: Build app.

When I got here, after pressing "Build > Make Project", I don't get a "Gradle Invocation successful" message nor an apk for my font. Instead, I get a "Gradle build finished" and when I go into my "package > app > build" folder, I don't see an "apk" folder but "generated" and "intermediates."

Any clue on how to fix this? Thanks!

edit: I figured it out! Apparently, Make Project doesn't build APKs on the newest versions of Android Studio, so you have to build from command line. Here's the link to input the correct commands to build the APK.
The Following 2 Users Say Thank You to tflogic For This Useful Post: [ View ] Gift tflogic Ad-Free
30th June 2014, 07:06 AM |#7  
codekidX's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 2,042
 
Donate to Me
More
Quote:
Originally Posted by tflogic

Hi, codekidX. So I tried to make a font on my own but ran into a problem. I followed your tutorial all the way to Step 4: Build app.

When I got here, after pressing "Build > Make Project", I don't get a "Gradle Invocation successful" message nor an apk for my font. Instead, I get a "Gradle build finished" and when I go into my "package > app > build" folder, I don't see an "apk" folder but "generated" and "intermediates."

Any clue on how to fix this? Thanks!

edit: I figured it out! Apparently, Make Project doesn't build APKs on the newest versions of Android Studio, so you have to build from command line. Here's the link to input the correct commands to build the APK.

Ohh I will update the guide and Android Studio , did the font work good?
thank you for pointing out the error

I will update the guide with font-family tutorial soon
The Following 2 Users Say Thank You to codekidX For This Useful Post: [ View ] Gift codekidX Ad-Free
30th June 2014, 09:12 AM |#8  
tflogic's Avatar
Senior Member
Thanks Meter: 80
 
More
Quote:
Originally Posted by codekidX

Ohh I will update the guide and Android Studio , did the font work good?
thank you for pointing out the error

I will update the guide with font-family tutorial soon

Oh it wasn't an error at all, just a difference in versions apparently. Here's the discussion I found about Make Project and building apks.

Unfortunately, I got a package parsing error: "There is a problem parsing the package" when I tried to run the apk on my phone. Since this is past my own understanding in Android, I quit and just went ahead and installed the Android L font from your Project Sparky :P
30th June 2014, 10:30 AM |#9  
codekidX's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 2,042
 
Donate to Me
More
Quote:
Originally Posted by tflogic

Oh it wasn't an error at all, just a difference in versions apparently. Here's the discussion I found about Make Project and building apks.

Unfortunately, I got a package parsing error: "There is a problem parsing the package" when I tried to run the apk on my phone. Since this is past my own understanding in Android, I quit and just went ahead and installed the Android L font from your Project Sparky :P

parsing error because you might have not set minimum required sdk to 4.4 and target sdk 4.4
30th June 2014, 08:59 PM |#10  
tysonraylee's Avatar
Senior Member
Flag Gotham
Thanks Meter: 840
 
More
does writing regular or thin or condensed in fonts.xml make any difference??
for example I have a regular style font but i don't write regular in fonts.xml and just write the font name
for example in guide it says crayon-regular.ttf
but I don't write regular I just write crayon.ttf
will this make any difference??
and if I have a thin style font but I don't mention abc-thin.ttf and only write abc.ttf will it not display the font in thin style??
please explain

edit : here is one of my fonts.xml which i am using without any problems. and every pack that I made is in the same way i.e only font name and no suffix of regular/thin/condensed etc



REVENGE SOLVES EVERYTHING
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes