Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

declare-styleable in attrs.xml is missing #1910

Closed
erikswed opened this issue Sep 28, 2018 · 5 comments
Closed

declare-styleable in attrs.xml is missing #1910

erikswed opened this issue Sep 28, 2018 · 5 comments

Comments

@erikswed
Copy link

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?

@Ibuprophen
Copy link

@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

@iBotPeaches
Copy link
Owner

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

@erikswed
Copy link
Author

erikswed commented Sep 28, 2018

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..

@Ibuprophen
Copy link

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

@erikswed
Copy link
Author

erikswed commented Sep 28, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants