Comments (6)
Here is my Android Studio project
https://github.com/zezadas/camera
from dexpatcher-tool.
first thing, you need to use apktool to decode then rebuild, sign and
zipalign the app, and test if it works.
On 07/11/2015 08:35 PM, zezadas wrote:
First, I want to thank you all the great work!!
I'm facing a issue, basically I have a application that is running
fine, but when I try it to use it on AndroidStudio, running the
project I get this error https://paste.kde.org/psfd4kmuk
No Java modification has been made.
I have been reading and it has something to do with Intents and SDK
version.
can you check if it's a AndroidStudio/your Tools or my lack of knowledge.Thanks
Regards, zezadas—
Reply to this email directly or view it on GitHub
#1.
from dexpatcher-tool.
that was not the problem, I already found it
it was on build.gradle
minSdkVersion 19
targetSdkVersion 19
versionCode 1
versionName "1.0"
I had to set minSdkVersion and targetSdkVersion to API 19 , it was set to 21 and API 21 as some differences in intent's
Thaks a lot... ;)
that, the fun begin :D
from dexpatcher-tool.
yes, you have to set those values to the original app or higher
according to your needs.
sorry i wasnt on an PC to take a closer look quicker.
please do ask if u need help, always preferred if u ask in the public
forum on xda if possible.
On 07/13/2015 09:27 AM, zezadas wrote:
that was not the problem, I already found it
it was on build.gradle
| minSdkVersion 19
targetSdkVersion 19
versionCode 1
versionName "1.0"
|I had to set minSdkVersion and targetSdkVersion to API 19 , it was set
to 21 and API 21 as some differences in intent'sThaks a lot... ;)
that, the fun begin :D—
Reply to this email directly or view it on GitHub
#1 (comment).
from dexpatcher-tool.
yeah, I forgot those fields, maybe you can make that automatic and recognize from the original package.
I only created the issue here, because a thought it was some problem with the code, I have the xda thread subscribed ;)
Again, Thanks a Lot :D
Great Project ;)
from dexpatcher-tool.
lol i never noticed we were on github, i thought it was a private msg :)
still on cellphone
totally ok to log problems here.
no, i looked into that, cant do it. those numbers must be set during
gradles build setup phase for android plugin to work. however, the contents
of the apk library (ie, the decoded app) including the apktool YML file
holding the required fields arent known until the build execution phase
where the android libraries including the apklib are found and exploded
inside the build directory. causal relationships require that that info is
entered manually.
what can be done is a warning during build if there is a mismatch. but
parsing the files and all seems like a waste of time given that higher
priority items are in the todo list, such as apktool based rebuilding when
resource merging isnt required, for better fidelity to the original apk.
finally, those numbers really are a choice according to your needs, auto
setting would not be good. maybe u r importing several andoid libs or using
newer apis in ur code: those settings must be the superset of everything,
not just what the original app was.
also note that android build system suffers from this causality issue too:
it cant select the proper values according to your imported android libs,
it can only fail the build if you choose incorrent values.
On Jul 13, 2015 7:37 PM, "zezadas" [email protected] wrote:
yeah, I forgot those fields, maybe you can make that automatic and
recognize from the original package.I only created the issue here, because a thought it was some problem with
the code, I have the xda thread subscribed ;)Again, Thanks a Lot :D
Great Project ;)—
Reply to this email directly or view it on GitHub
#1 (comment)
.
from dexpatcher-tool.
Related Issues (20)
- Another request to complete the 'class rewrite' feature HOT 5
- Breaking the direct/virtual method and static/instance field barriers HOT 1
- About haystack: is it possible to patch the individual APKs instead of the framework JARs? HOT 2
- Could not create plugin of type 'PatchedAppPlugin'. ClassNotFoundException: PrepareLibraryTask HOT 8
- Error: target not found HOT 9
- Debugging not possible after dex2jar HOT 5
- core.jar (core-pj.jar) patch support HOT 7
- Does it work with apps that are built with Android Studio 3.2/Gradle 4.6 and targeted to Android Pie? HOT 1
- Rewrite original anonymous to allow new ones HOT 41
- target-ing class methods/fields with @DexWrap/@DexEdit HOT 7
- Installation Documentation HOT 4
- Android resource compilation failed HOT 1
- EmptyMultiDexContainerException while patching multidex application HOT 12
- Add/Replace/delete class files in Dex HOT 1
- --map-source / --unmap-output inner classes HOT 22
- Implement app bundle support HOT 2
- Unable to map class interface declarations HOT 8
- Crash after patching telephony-common HOT 2
- cant get it working
- Do you have any plans to support AGP7.0 in the future HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dexpatcher-tool.