Search This thread

DeSim

Senior Member
Nov 1, 2009
244
43
Fort Wayne
need a little help

02:39:59.144: [Normal] - <BuildProject>d__16.MoveNext: 'Building project: Des_Blue_Glass'
02:39:59.224: [Debug] - <>c__DisplayClass38.<BuildApkAsync>b__37: 'Des_Blue_Glass: Compiling changed M10 pictures'
02:39:59.565: [Debug] - M10ImageNames.Initialize: 'Loaded 1057 registered image names!'
02:40:00.847: [Debug] - <>c__DisplayClass38.<BuildApkAsync>b__37: 'Des_Blue_Glass: Copying 'C:\Users\De\Documents\Virtuous Ten Studio\Projects\Des Blue\Des_Blue_Glass\Data' to 'C:\Users\De\AppData\Local\Temp\de7d86f3-ae2a-4a3f-a7dd-09f8c21a3ebe''
02:40:16.270: [Debug] - M10Transformer.Encode: 'M10 encode: 193ms'
02:40:16.395: [Debug] - M10Transformer.Encode: 'M10 encode: 7ms'
02:40:16.405: [Normal] - ApkTool.CompileApk: 'Compiling apk'
02:40:16.408: [Debug] - FileSystem.GetJavaInstallationPath: 'Found java path: C:\Program Files (x86)\Java\jre6\bin\java.exe'
02:40:16.408: [Debug] - ApkTool.CompileApk: 'ApkTool args: -jar "C:\Program Files (x86)\Virtuous Ten Studio\External\ApkTool\apktool_1.5.0.jar" b "C:\Users\De\AppData\Local\Temp\de7d86f3-ae2a-4a3f-a7dd-09f8c21a3ebe" "C:\Users\De\Documents\Virtuous Ten Studio\Projects\Des Blue\Des_Blue_Glass\Binary\Des Blue Glass.apk"'
02:40:16.757: [Error] - ApkTool.CompileApk: 'ApkTool: W: Could not find sources'
02:40:16.757: [Error] - ApkTool.CompileApk: 'ApkTool: I: Checking whether resources has changed...'
02:40:16.758: [Error] - ApkTool.CompileApk: 'ApkTool: I: Building resources...'
02:40:16.759: [Error] - ApkTool.CompileApk: 'ApkTool: Exception in thread "main" brut.androlib.err.CantFindFrameworkResException'
02:40:16.759: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.getFrameworkApk(AndrolibResources.java:441)'
02:40:16.760: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.parseUsesFramework(Androlib.java:482)'
02:40:16.760: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)'
02:40:16.761: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResources(Androlib.java:269)'


This is what im getting when i try to compile. Im working on a skin for Evo4G LTE, Android 4.1.1 htc sence ver 4+(not sure what the plus is..) the rom is meanbean1.7
i pulled com.htc.resources , framework.res and the framework-htc-res.. Any help would be nice.. would like to get a theme going..

Still waiting to get my License:D
 
Last edited:

DeSim

Senior Member
Nov 1, 2009
244
43
Fort Wayne
Well from your log it looks like you aren't (properly) using framework tags. At least the project your are building has no assigned framework tag.

Have a look here and then here for detailed instructions on how to use those tags.

So for sake of what I want to do lock rings and such. I should say only work with one framework at a time? I might be confused..Lol..
Thanks you for the L Btw..

Sent from my EVO using xda premium
 

Diamondback

Retired Dev Committee Lead / Retired Senior Mod
Jan 17, 2010
4,476
6,631
virtuous-ten-studio.com
That would be a huge time saver. Thanks man!

Okay, looks like only some m10 images are indexed (don't ask me why, it's a mystery:eek:), so I fixed those.
VTS won't search all images of an apk for indexed ones since that takes quite some time and I never found a single one in the 'normal' pictures.
 

Diamondback

Retired Dev Committee Lead / Retired Senior Mod
Jan 17, 2010
4,476
6,631
virtuous-ten-studio.com
So for sake of what I want to do lock rings and such. I should say only work with one framework at a time? I might be confused..Lol..
Thanks you for the L Btw..

Sent from my EVO using xda premium

You usually (ie. for newer HTC roms) need multiple frameworks. You can basically install ALL apks from /system/framework as frameworks with the same tag and select this tag in the project settings.
 

DeSim

Senior Member
Nov 1, 2009
244
43
Fort Wayne
You usually (ie. for newer HTC roms) need multiple frameworks. You can basically install ALL apks from /system/framework as frameworks with the same tag and select this tag in the project settings.

i know that i did do that with the ones i installed. IE made the tag the same. ill try again... and im gonna install all of them this time.. also when im selecting my sense ver what should i set it at? it says i have 4.+
 

DeSim

Senior Member
Nov 1, 2009
244
43
Fort Wayne
Well i pulled the following from my phone

com.htc.resources
com.htc.socialnetwork.res
com.htc.videowidget.res
com.htc.weather.res
framework-htc-res
framework-res

I gave them all the same tag MeanBean1,7. i edited a few images on a apk skin that i downloaded for MeanBean.. It wouldnt work..

Then i downloaded the stock JB. Pulled the same as above..still no go. Tryed to use a stock skin as well and still no go.. I dont know what i am doing wrong. here is another log. im sure it looks the same..


www.dropbox.com/s/femvrxfw7rqfr69/Debug.log
 

Diamondback

Retired Dev Committee Lead / Retired Senior Mod
Jan 17, 2010
4,476
6,631
virtuous-ten-studio.com
Well i pulled the following from my phone

com.htc.resources
com.htc.socialnetwork.res
com.htc.videowidget.res
com.htc.weather.res
framework-htc-res
framework-res

I gave them all the same tag MeanBean1,7. i edited a few images on a apk skin that i downloaded for MeanBean.. It wouldnt work..

Then i downloaded the stock JB. Pulled the same as above..still no go. Tryed to use a stock skin as well and still no go.. I dont know what i am doing wrong. here is another log. im sure it looks the same..


www.dropbox.com/s/femvrxfw7rqfr69/Debug.log

Did you also assign this tag to the project in the project settings? :p
Just installing the frameworks won't help ;)
 

DeSim

Senior Member
Nov 1, 2009
244
43
Fort Wayne
Did you also assign this tag to the project in the project settings? :p
Just installing the frameworks won't help ;)


now when you say did i assign the tag to the project do you mean like when i first open a new project, then in the apktool sec choose the framework tag that i tagged the frame work i want to use? Yes I did that! if thats not what you mean then i have no clue...:(
 

DeSim

Senior Member
Nov 1, 2009
244
43
Fort Wayne
uploadfromtaptalk1357271324739.jpg
That is the first step I do
uploadfromtaptalk1357271390910.jpg
2nd
uploadfromtaptalk1357271475697.jpg
Not sure what I'm am supposed to choose here but I normally leave it on 4.0
My ver on my phone says senses 4.+
Then I import the apk I want to edit
Sent from my MeanEvo
 

vanessaem

Retired Senior Moderator / Inactive Themer
Jun 7, 2010
13,152
13,993
Missouri City
Anyone? I really need some help..

Sent from my MeanBean LTE


Try following this procedure http://www.virtuous-ten-studio.com/index.php/getting-started/88-setting-up-your-first-project. Start with one apk at a time.

But this is what I did -
Click on:
New Project
Project choose Apk-Project(give your Project and Solution a name)
Apk-tool (to be honest I didn't do anything with this)
Smali choose 4.1 Jellybean
M10(Optional) tick "Use M10 tools to decompile M10 files" choose Sense 4.1
Import choose the file you want to work on then click OK

Everything I said may not be textbook correct but this was how I was able to get my mods and other work done without issue. I'm just trying to help out here.
 

DeSim

Senior Member
Nov 1, 2009
244
43
Fort Wayne
Try following this procedure http://www.virtuous-ten-studio.com/index.php/getting-started/88-setting-up-your-first-project. Start with one apk at a time.

But this is what I did -
Click on:
New Project
Project choose Apk-Project(give your Project and Solution a name)
Apk-tool (to be honest I didn't do anything with this)
Smali choose 4.1 Jellybean
M10(Optional) tick "Use M10 tools to decompile M10 files" choose Sense 4.1
Import choose the file you want to work on then click OK

Everything I said may not be textbook correct but this was how I was able to get my mods and other work done without issue. I'm just trying to help out here.

So when I set up my framework with a tag do I need to make a tag the same for all or different for each. I've followed that guide along with the skin guide as well and to no luck. I'll try what you said and leave the apk part alone.
Sent from my MeanBean LTE
 

vanessaem

Retired Senior Moderator / Inactive Themer
Jun 7, 2010
13,152
13,993
Missouri City
So when I set up my framework with a tag do I need to make a tag the same for all or different for each. I've followed that guide along with the skin guide as well and to no luck. I'll try what you said and leave the apk part alone.
Sent from my MeanBean LTE


To be honest, I didn't set up any tags. Maybe I'm doing it wrong but I haven't had any problem decompiling and recompiling my apk's.
 

fisha21

Senior Member
Nov 23, 2007
2,331
4,379
So when I set up my framework with a tag do I need to make a tag the same for all or different for each. I've followed that guide along with the skin guide as well and to no luck. I'll try what you said and leave the apk part alone.
Sent from my MeanBean LTE

To be honest, I didn't set up any tags. Maybe I'm doing it wrong but I haven't had any problem decompiling and recompiling my apk's.

Just some clarification on tags:

Tags are useful if you are editing apks from different versions of android...GB/ICS/JB, or Sense/AOSP/MIUI.

As you know, if you want to decompile an apk, you need to install the framework apks first. So, say you're working on an ICS apk. You install the ics framework-res.apk etc. All fine. But now you want to work on a JB apk. So you install the JB framework-res.apk. Now this overwrites the ICS fw-res you installed before, so you'd need to reinstall that if you wanted to work on ics apks again.

But if you installed the ICS frameworks using the tag "ICS", and the JB frameworks with a "JB" tag, then you can have both sets of framework files installed side by sidez and call the relevant one using the tag, depending on which android version the target apk is from. So, all framework apks from a particular android version can have the same tag...and in fact this probably keeps things simpler. And if you're only ever working on apks from one android version, you don't need tags at all.

Hope that makes things clearer, and not more horribly complicated!!

Sent from my HTC One X using xda premium
 

Top Liked Posts

  • There are no posts matching your filters.
  • 527
    vts%20banner.png


    Virtuous Ten Studio (VTS) is the ultimate solution for the modification of android applications.
    This program allows you to manage entire Android projects within an easy to use and familiar environment.

    The intended group of users covers anyone from a themer over ROM devs up to the smali gods known for their awesome mods of existing apks.
    The modifcation of smali code is one of the biggest features in VTS. You can easily decompile, edit and recompile any apk or jar file.
    However, the application is not limited to smali files. You can edit almost any file found inside an apk or jar.

    Virtuous Ten Studio is also the official successor to the highly important M10Tools released 2011 by the Virtuous Team.
    You can easily edit any m10 file from Sense apps in order to resize or change them.

    Additionally VTS brings support for un- and repacking of boot images (boot.img), a job that previously required a cygwin installation with the dsixda kitchen.
    Since VTS' own implementation is a native windows solution, which means you don't need dsixda or cygwin anymore.

    VTS has been designed to run on Windows, has been in development for nearly two years and has gone through many stages of testing.


    Today VTS is a highly respected, multiple purpose Android IDE (Integrated Develoment Environment) suited for all your reverse engineering tasks.



    Screenshots




    XDA Portal posts




    Main Features

    This is only a short summary of all features, a full list of features can be found here.
    • Never before seen UI
      • Fully featured IDE
      • Seamless integration of useful third party tools
        • ApkTool
        • Smali/Baksmali
        • ADB
        • Zipalign
        • Sign
        • dex2jar
        • WinMerge
        • Remote Theme Injector (RTI)
        • many more

      • Work with your apks just like having real java code
      • Support for apks and framework jars
      • Easily keep track of multiple apks/jars with the Solution Explorer
      • Manage big projects with ease

    • Edit smali code like never before
      • Syntax highlighting
      • Jumping to smali references (method calls, fields, classes, gotos)
      • Help files on almost every smali command and topic
      • Connection between smali code and public.xml to expose hex references
      • Have a helpful look at the java source of any smali file if needed
      • Paste often used smali snippets right from the editor

    • Enhanced XML workflow
      • Easy navigation in XML documents
      • Follow XML resource paths and jump to the source file with a simple click
      • Previews of color codes, images and string resources directly in the xml file

    • Edit M10 files with great usability
      • Support for all Sense versions (3.0, 3.5, 3.6, 4.0, 4.1, 4.5)
      • Work with m10 files either with the dedicated M10-Project or via the combined APK-Project
      • Decompile m10 images of all Sense versions to create HTC Sense themes
      • Quickly analyze the contents with the M10-Structure viewer
      • Validate your m10 changes with the syntax checker
      • Unimportant m10 parts are greyed out or completely hidden

    • Unpack and repack boot images (boot.img)
      • Easily edit any content of your boot.img
      • Dedicated syntax highlighting for *.rc and *.prop files
      • Advanced support for files modes and symlinks
      • Native implementation, no need for cygwin or the dsixda kitchen

    • Communicate with your device with yet to be seen ease
      • Tight integration of most ADB commands
      • Push apks or jars easily to any place on your device
      • Remote import files to edit them with VTS
      • Debug your device with the integrated Logcat-Viewer

    • Enhance your workflow with useful additions
      • Easily create backups of your projects
      • Dedicated compare interface for easy comparision of files, folders or projects

    • Hundreds of other awesome features (seriously, you really have to see and try it yourself)



    User feedback

    I've had the pleasure of beta testing and writing tuts for vts and I must say that it is the most useful, well put together program for Android that I've ever used.
    I got that excited that I almost pre jacked when I first used it.
    It is simply truly fxxxxng amazing.
    Thank you team and testers
    Diamondback and everyone involved in this project - thank you! I just started learning (this morning) and
    I am already pushing out some alpha mods to the lockscreen thanks to your tool!!
    It is a great tool, and I will be using it more as I learn more.
    Thank you for the effort you put into this for free, it is amazing. Keep it up! :)
    VTS has done amazing, meticulous work that has enriched, massively, the android community.
    Thank you!

    As someone that's been using your tools since they were first available, I give a HUGE thanks.
    I have, like duce been innovative with m10 modding. There are probably endless options, through mostly trial and error.
    The payoff on the end result is always worth it. I'll be more than happy when your next release is out.
    I've been using VTS for over 2 months now and it has become the only tool I use. There are tremedous advantages and I'm still finding more. The java source tools are invaluable when working with xmls and smalis. I can now switch between projects with 3 clicks. Great program for modding.
    This is probably by far the most useful thing I've used on windows lol
    Ohh this is going to be awesome. I'm giddy with excitement. Great job on the app as a whole but with the upcoming m10 editing?
    You guys rocked any other editor out of the water. Keep it up :good:
    Waw.. this project is being developed very fast.... many changes in the software since the last 2 months when I tried it...

    Awesome!!!
    Thanks alot for the hard work, and great job.
    I want to give a huge THANKS for the Virtuous Team!
    I finally released a working transparent HTC clock widget on One X thanks to the new editor.
    I'm just glad that there are people out there smart enough to do this stuff! I was seconds away from getting a Samsung.
    Thank you Diamond for this superb tool and updates!

    Thanks everyone for this. I decompiled, made an edit, then recompiled my first skin last night thanks to this tool and my helpful huddle mates and teammates.
    Great job VTS team and thanks for the many hours of hard work and testing.
    Thank you very much Diamondback for all the hard work you put into this. You're the man!
    I just tried it now :D And I would just say WOWWWW.....
    This is awesome! [..] And again bravo for your help, HTC Sense is much sexier thanks to you
    Thanks again man, I really love this :good::highfive:
    I have just found this, and it's amazing
    Just dropped in to say that Virtuous Ten Studio has been an enriching experience for me
    You make us feel crazy ,This tool is a bomb .
    Thanks so much man, its nice to have the dev give a direct and clear response.
    Awesome tool.Comes in handy many times.thank you
    Dude you rock thanks so much for your kick ass creation!



    Featured Projects

    These projects were created with the help of VTS, check them out :good: (alphabetical order)

    XDA:DevDB Information
    Virtuous Ten Studio, Tool/Utility for the Android General

    Contributors
    Diamondback

    Version Information
    Status: Stable
    Current Stable Version: 3.6.30.14100
    Stable Release Date: 2014-06-30

    Created 2013-11-14
    Last Updated 2014-10-31
    140
    Changelog & News




    Bugs & Issues

    If you are about to make a new post in this thread asking for help because you got an issue, please make sure to check the FAQs here first.
    If you still need help, please include all the required information listed under the "Something else went wrong" section.
    I can't help you if you forget to provide these information.

    If you got any issues feel free to ask here while adhering to the guidelines above.

    I am also usually available on IRC, channel #vts-dev on Freenode. If I don't immediately answer you, stick around for a while and make sure to mention my name so I get a notification.



    Guides and tutorials

    My team and I spent a lot of time on writing detailed and comprehensive guides and tutorials about VTS.
    They cover a wide range of topics, from a total beginner level up to complex topics like creating your own HTC Sense skins.

    You can find the guides on my website:

    Need help with M10 mods? Have a look at this thread. (no requests please)



    Download and more information

    The downloads, tutorials and many more resources can be found on the dedicated VTS website

    http://www.virtuous-ten-studio.com/
    40
    Reserved for later :)
    33
    Reserved for later :)
    31
    Okay, everyone, we are getting ready for release. :highfive:
    However, there are a few points everyone has to understand, so I'll publish them prior to the official launch to get a bit more attention. :silly:

    First of all, a huge thanks to my beta testers and tutorial authors: (alphabetical order)
    • Dunc001
    • eg1122
    • Fernando sor
    • fisha21
    • Gumby63
    • il Duce
    • jeffsanace
    • mcluvn
    • memnoc
    Those guys earned my trust and did the major work on writing all the nice guides and tutorials on the all new VTS website (more on that later).

    Let's have a look at the new key features being added in this release:
    • VTS is now able to decompile m10 images. This means everyone can do skins for HTC Sense devices
    • Navigatin in XML documents is much easier now. Simply hold CTRL and click on any reference inside a XML document to jump to the source
    • The content of smali documents gets automatically checked for syntax errors now. Live. And in color. :p
    • We worked hard to provide you useful guides and tutorials on the new website. Additionally, VTS has a (little) help system built in. These are short explanations for a few key features. You can find everything related to "Help" in the new Help tab.
    • It seems nobody saw the potential of the old "Backup" feature, so in this version I added an additional window to easily compare different projects, folders and files. This comes in super handy when porting all kinds of stuff to new apk/jar versions for example.

    Okay, so, this is only a super short list of new features, the full list of changes (almost 2 pages long) can be found (as always) here:
    VTS Changelog


    A few additional notes:
    • I changed the license system a bit to help those that had to start VTS with admin rights to find the license. However, to fully use that fix, you need to activate your license in VTS again. Have a look at your license email if you don't remember anymore how to do that.
    • This release should fully support Windows 8. There's a little glitch in the "View tab" where one checkbox is a bit cut off, but I'll fix that with the next version.
    • Speaking of the next version.... This is the last release with support for Windows XP. The next version (the one after the the one that will be released shortly :p) won't suppor XP anymore. So if you are still using XP (shame on you :p), remember to not update after this release.
    • Despite having fixed the admin issue with licenses, it still seems that VTS needs admin rights for certain other things. If something goes weirdly wrong, try restarting VTS with admin rights.