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

not able to use version 2.0.1 because I have to work with resource files name start with '$' sign #21

Open
infahash opened this issue Jul 10, 2020 · 4 comments
Assignees

Comments

@infahash
Copy link

after updating java2smali to version 2.0.1 I was not able to do my work. it's giving me Error: '$' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore

on version 1.6 I was able to use the plugin by adding

lintOptions {
        abortOnError false
}

to my build.gradle. but on the latest version it does not work and giving me the error for resource names

@ollide
Copy link
Owner

ollide commented Jul 22, 2020

Hi @infahash,
could you provide a sample project that leads to your error?

@ollide ollide self-assigned this Jul 22, 2020
@infahash
Copy link
Author

It's available on any of decompiled app (XCIPTV app for example). While using resources from decompiled app new version always fails because of resources name error I mentioned

@ollide
Copy link
Owner

ollide commented Jul 24, 2020

The plugin only works when the module or project of the Java/Kotlin file you try to compile to smali can be build.
I assume that you also cannot regularly build the decompiled project?

@infahash
Copy link
Author

yes. I know. When works on some big projects I have to keep decompiled smali in one project, and making java code on another project. resources are synced between both. so there are a few or many files start with $ sign. while those files on java project the new version of plugin always failed and works fine when I downgrade.

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

2 participants