Giter VIP home page Giter VIP logo

Comments (6)

zezadas avatar zezadas commented on July 20, 2024

Here is my Android Studio project
https://github.com/zezadas/camera

from dexpatcher-tool.

Lanchon avatar Lanchon commented on July 20, 2024

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.

zezadas avatar zezadas commented on July 20, 2024

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.

Lanchon avatar Lanchon commented on July 20, 2024

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's

Thaks a lot... ;)
that, the fun begin :D


Reply to this email directly or view it on GitHub
#1 (comment).

from dexpatcher-tool.

zezadas avatar zezadas commented on July 20, 2024

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.

Lanchon avatar Lanchon commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.