Apktool: declare-styleable in attrs.xml is missing

Created on 28 Sep 2018  路  5Comments  路  Source: iBotPeaches/Apktool

Information

  1. apktool_2.3.4.jar
  2. Windows 10
  3. Playstore

This is the apk:
https://play.google.com/store/apps/details?id=com.sunlux.smartpower&hl=en_US

There are 3 declare-styleable that I cant find anywhere, they should be in the attrs.xml
The code is 99% ok and I can use the java code.

Please advice?

Most helpful comment

Thanks a bunch, No it did not help but it麓s ok one cant have it all

All 5 comments

@erikswed, what exactly are you trying to do?

I've decompiled it and I've got a feeling that the "declare-styleable" may be changed but, if you state what your trying to ultimately accomplish, I "Might" be able to help you.

~Ibuprophen

This is a duplicate of #1217 and in my research, the built Android application has no method to determine "declared" styleables vs not.

I want to make some enhancement to the app code because I use that app myself to communicate with my LIFO batteri. That麓s why I reverse engineering using Apktool.

styleable missing are:

R.styleable.Battery
R.styleable.DialView
R.styleable.RoundProgressBar
R.styleable.Thermometer

There麓s only like 50 people using that APK because the battery is so ridiculously expensive, i spoke to the company asking for the source code and they say it was not obfuscated so, I could knock myself out..

Well anyway It's no biggie I can redesign creating new styleables..

Just as iBotPeaches mentioned... I see this as well.

I'm able to locate 4 files within the "/smali/com/sunlux/smartpower/view/" directory.

There's only 4 files there:

Battery.smali
DialView.smali
RoundProgressBar.smali
Thermometer.smali

Just a suggestion but, I'm not sure if this helps you at all (though I do hope that it does somehow)...

~Ibuprophen

Thanks a bunch, No it did not help but it麓s ok one cant have it all

Was this page helpful?
0 / 5 - 0 ratings