repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
baseflowphotoview
slide the viewpager when the photoview be magnify
Bug
it just show the next photo view not slide the photoview where you cann t see why nobody ask this question
baseflowphotoview
nullpointerexception fling view with no image
Bug
I m use this library in a viewpager to swipe through image and when I attempt to swipe in either direction prior to the image loading I receive the following stacktrace java java lang nullpointerexception at uk co senab photoview photoviewattacher flingrunnable fle photoviewattacher java 98 at uk co senab photoview photoviewattacher onfle photoviewattacher java 340 at uk co senab photoview versionedgesturedetector cupcakedetector ontouchevent versionedgesturedetector java 140 at uk co senab photoview versionedgesturedetector eclairdetector ontouchevent versionedgesturedetector java 210 at uk co senab photoview versionedgesturedetector froyodetector ontouchevent versionedgesturedetector java 236 at uk co senab photoview photoviewattacher ontouch photoviewattacher java 438 at android view view dispatchtouchevent view java 7784 at android view viewgroup dispatchtransformedtouchevent viewgroup java 2186 at android view viewgroup dispatchtouchevent viewgroup java 1959 at android view viewgroup dispatchtransformedtouchevent viewgroup java 2186 at android view viewgroup dispatchtouchevent viewgroup java 1959 at android view viewgroup dispatchtransformedtouchevent viewgroup java 2186 at android view viewgroup dispatchtouchevent viewgroup java 1959 at android view viewgroup dispatchtransformedtouchevent viewgroup java 2216 at android view viewgroup dispatchtouchevent viewgroup java 1959 at android view viewgroup dispatchtransformedtouchevent viewgroup java 2216 at android view viewgroup dispatchtouchevent viewgroup java 1959 at android view viewgroup dispatchtransformedtouchevent viewgroup java 2216 at android view viewgroup dispatchtouchevent viewgroup java 1959 at android view viewgroup dispatchtransformedtouchevent viewgroup java 2216 at android view viewgroup dispatchtouchevent viewgroup java 1959 at com android internal policy impl phonewindow decorview superdispatchtouchevent phonewindow java 2169 at com android internal policy impl phonewindow superdispatchtouchevent phonewindow java 1613 at android app activity dispatchtouchevent activity java 2539 at com android internal policy impl phonewindow decorview dispatchtouchevent phonewindow java 2117 at android view view dispatchpointerevent view java 8005 at android view viewrootimpl viewpostimeinputstage processpointerevent viewrootimpl java 4300 at android view viewrootimpl viewpostimeinputstage onprocess viewrootimpl java 4179 at android view viewrootimpl inputstage deliver viewrootimpl java 3714 at android view viewrootimpl inputstage ondelivertonext viewrootimpl java 3764 at android view viewrootimpl inputstage forward viewrootimpl java 3733 at android view viewrootimpl asyncinputstage forward viewrootimpl java 3844 at android view viewrootimpl inputstage apply viewrootimpl java 3741 at android view viewrootimpl asyncinputstage apply viewrootimpl java 3901 at android view viewrootimpl inputstage deliver viewrootimpl java 3714 at android view viewrootimpl inputstage ondelivertonext viewrootimpl java 3764 at android view viewrootimpl inputstage forward viewrootimpl java 3733 at android view viewrootimpl inputstage apply viewrootimpl java 3741 at android view viewrootimpl inputstage deliver viewrootimpl java 3714 at android view viewrootimpl deliverinputevent viewrootimpl java 5973 at android view viewrootimpl doprocessinputevent viewrootimpl java 5946 at android view viewrootimpl enqueueinputevent viewrootimpl java 5909 at android view viewrootimpl windowinputeventreceiver oninputevent viewrootimpl java 6057 at android view inputeventreceiver dispatchinputevent inputeventreceiver java 214 at android view inputeventreceiver nativeconsumebatchedinputevent native method at android view inputeventreceiver consumebatchedinputevent inputeventreceiver java 200 at android view viewrootimpl doconsumebatchedinput viewrootimpl java 6028 at android view viewrootimpl consumebatchedinputrunnable run viewrootimpl java 6086 at android view choreographer callbackrecord run choreographer java 799 at android view choreographer docallback choreograp I briefly look through the code and here s the line cause the nullpointerexception in photoviewattacher line 98 java final int startx math round rect leave additionally once that line be fix there be multiple call below that which refer to rect which will also cause nullpointerexception the rect variable be set by call the getdisplayrect function which be the follow java private rectf getdisplayrect matrix matrix drawable d mimageview getdrawable if null d rectf rect new rectf 0 0 d getintrinsicwidth d getintrinsicheight matrix maprect rect return rect return null to I it look like the good course of action would be to fix the nullpointerexception and send the call on to the scrollerproxy something akin to the follow java public void fle int velocityx int velocityy final int viewheight mimageview getheight final int viewwidth mimageview getwidth final rectf rect getdisplayrect final int minx maxx miny maxy startx starty if rect null final int startx math round rect leave if viewwidth rect width minx 0 maxx math round rect width viewwidth else minx maxx startx final int starty math round rect top if viewheight rect height miny 0 maxy math round rect height viewheight else miny maxy starty else startx 0 minx 0 maxx viewwidth starty 0 miny 0 maxy viewheight mcurrentx startx mcurrenty starty if debug log d log tag fle startx startx starty starty maxx maxx maxy maxy mscroller fling startx starty velocityx velocityy minx maxx miny maxy 0 0
baseflowphotoview
setphotoviewrotation doesn t work in activitie s oncreate
Question
I m try to display an image which be rotate when load the image unfortunately it look like the library have to first display the original image and after that the rotation can take place any idea how to make it work
baseflowphotoview
add save and restore command for save and restore the matrix
Enhancement
this be model after the canvas save and restore method in that the restore method only respond if the user have first call save
baseflowphotoview
set image without resize
Enhancement
hi I put a thumbnail to photoview then I want to load the original image when photoview be be scale but when I call setimagebitmap method it well rescale my image be there any way I can keep the scale rate
baseflowphotoview
how to detect swipe
Question
hi I need to show several image with pinch to zoom functionality how would I detect that the user be swipe over the edge of an image to load the next one thank julian
baseflowphotoview
possible to have swipe leave right gesture
Question
I m try to add left and swipe gesture but I keep remove the photoview functionality which I want to keep so how do I implement such swipe gesture
baseflowphotoview
be it possible to pass image bitmap or smth like this to viewpager
Question
I m try to fill viewpager with image which be parse from web page on some activity start but can t understand how to insert they to this viewpager sorry for such weird explanation
baseflowphotoview
be there any way to capture the single tap from the activity to show hide the actionbar
Question
be there any way to capture the single tap from the activity to show hide the actionbar I be try to implement the overlay the actionbar but not have much success in get singletap capture or click or touch in my activity I would like to display the actionbar when the user tap once on hackyviewpager without interfere with zooming since the single tap be not use for anything in photoview
baseflowphotoview
while drag the imageview in the viewpager in zoom mode the image can not be fully show
Question
my project be I use the photoview with android universal image loader viewpager setp 1 in normal mode when I drag the imageview it s fine 1 2 in zoom mode I double tap the second and drag it the image can not be fully show 2
baseflowphotoview
update photoviewattacher java
Enhancement
remove final modifier for ontouch as other thing need to coexist with this library
baseflowphotoview
problem with setzoomable and center inside
Question
I need to set the scaletype of the attacher to center inside and set zoomable to false initially later I will toggle its value but when I do that the image do not show up in the imageview it be blank why could it that be m
baseflowphotoview
real image size
Enhancement
hello be it possible to show the image with the real size even the image big than the viewpager size and the scroll bar should appear automatically thank you
baseflowphotoview
customize the scale value and display manually
Invalid
hi I be new to visad library and I be try to plot an image use visad but when I plot an image it take the value display on scale x axis and y axis automatically accord to latitude and longitude my filename nc file have longitude value up to 180 to 180 and it display only 150 to 150 so how can I display the maximum limit on scale use which class or method
baseflowphotoview
host photoview in a scrollview make it unusable
Enhancement
I host it in a linearlayout vertical that contain other component text widget the linearlayout be child of a scrollview vertical it be very difficult to zoom in the photoview drag vertically doesn t work too
baseflowphotoview
getdisplayrect
Enhancement
when I try to use getdisplayrect to get the rect of the bitmap it doesn t return the right rect of the visible part
baseflowphotoview
can t overload defaultondoubletaplistener class
Enhancement
my understanding be on my code I shouldn t have a photoviewattacher reference all action on photoviewattacher should be do through photoview class I would like to change doubletap behavior by keep the defaultondoubletaplistener one but I can t overload defaultondoubletaplistener because it need a photoviewattacher argument there be no interface to setondoubletaplistener in photoview yet my workaround getphotoviewattacher interface in photoview but I don t think you want this
baseflowphotoview
Duplicate
viewpager viewpager sorry I m not good at english you can use google to translate the chinese
baseflowphotoview
can we not hijack the double tap event
Enhancement
the attacher s ondoubletap method always return true which prevent the event from bubble up I think it would be nice if the listener can get this event notification too
baseflowphotoview
problem scroll image in viewpager when go back
Duplicate
I have a viewpager with a photoview show internet s image if I scroll my pager it s work ok but if I scroll pager back previously load image can t be scroll or zoom it s a know bug or someone with similar problem
baseflowphotoview
photoview use problem
Enhancement
I want to know that if I want to check the user scroll leave and right
baseflowphotoview
when I scale it photoview I find it actually still roll
Enhancement
I find the up event have a problem and now I try to solve it
baseflowphotoview
portrait photo be not fill up all of the available space
Bug
photo that be take with the device be not fill up the screen when in portrait mode image I be call photoviewattacher update and then rotate the image to the correct amount when the image be load into the imageview update doesn t seem to have any effect rotate the image back to landscape correctly fill up the screen as in it stretch to the edge width wise but rotate again have this same problem this be the code that be execute when the image be load into the imageview mediaview be an extended imageview java mattacher update mediaview this post new runnable override public void run mattacher setphotoviewrotation exifutil getrotation mitem orientation view setvisibility view visible when I rotate the image within my app I apply a rotation animation and at the end this code be execute java public void onanimationend animation animation mattacher update mattacher setphotoviewrotation endrotation I m set the rotation at the end because it didn t stick after the animation end even though I set fillafter to true I d really like to use this library but I ve be run into constant issue with rotation and the auto scaling to fit the screen
baseflowphotoview
double tap on android 4 4
Duplicate
to reproduce double tap to zoom touch the screen and move up the image zoom
baseflowphotoview
nan error
Bug
froyogesturedetector public boolean onscale scalegesturedetector detector float scalefactor detector getscalefactor if float isnan scalefactor float isinfinite scalefactor return false mlistener onscale detector getscalefactor detector getfocusx detector getfocusy return true
baseflowphotoview
minor point release
Question
it seem like many not all of the open issue be more feature request rather than bug fix it would be very useful to get a new release jar out with the current raft of bug fix in dev and later do a more major point release with the new feature
baseflowphotoview
crop center image
Question
hi I want to set photoview be crop center to display full width because my image s height be long than width but it s display the center of image in screen so what sould I do if I want to display from start of image thank
baseflowphotoview
the photoview become black
Bug
baseflowphotoview
when scale the photoview my picture disappear and true to be black why
Question
this be a bug
baseflowphotoview
still have java lang arrayindexoutofboundsexception
Bug
I have try the new library from the dev branch and sometimes the exception happen on an android 2 3 4 machine and it seem to work well on an android 4 0 machine or above I use a viewpager as my photoview container 11 21 14 57 16 245 e androidruntime 6404 java lang arrayindexoutofboundsexception 11 21 14 57 16 245 e androidruntime 6404 at android view motionevent getx motionevent java 889 11 21 14 57 16 245 e androidruntime 6404 at android support v4 view n c unknown source 11 21 14 57 16 245 e androidruntime 6404 at android support v4 view m b c unknown source 11 21 14 57 16 245 e androidruntime 6404 at android support v4 view m c unknown source 11 21 14 57 16 245 e androidruntime 6404 at android support v4 view viewpager ontouchevent unknown source 11 21 14 57 16 245 e androidruntime 6404 at android view view dispatchtouchevent view java 3885 11 21 14 57 16 245 e androidruntime 6404 at android view viewgroup dispatchtouchevent viewgroup java 903 11 21 14 57 16 245 e androidruntime 6404 at android view viewgroup dispatchtouchevent viewgroup java 942 11 21 14 57 16 245 e androidruntime 6404 at android view viewgroup dispatchtouchevent viewgroup java 942 11 21 14 57 16 245 e androidruntime 6404 at android view viewgroup dispatchtouchevent viewgroup java 942 11 21 14 57 16 245 e androidruntime 6404 at com android internal policy impl phonewindow decorview superdispatchtouchevent phonewindow java 1711 11 21 14 57 16 245 e androidruntime 6404 at com android internal policy impl phonewindow superdispatchtouchevent phonewindow java 1125 11 21 14 57 16 245 e androidruntime 6404 at android app activity dispatchtouchevent activity java 2096 11 21 14 57 16 245 e androidruntime 6404 at com android internal policy impl phonewindow decorview dispatchtouchevent phonewindow java 1695 11 21 14 57 16 245 e androidruntime 6404 at android view viewroot deliverpointerevent viewroot java 2194 11 21 14 57 16 245 e androidruntime 6404 at android view viewroot handlemessage viewroot java 1878 11 21 14 57 16 245 e androidruntime 6404 at android os handler dispatchmessage handler java 99 11 21 14 57 16 245 e androidruntime 6404 at android os looper loop looper java 130 11 21 14 57 16 245 e androidruntime 6404 at android app activitythread main activitythread java 3683 11 21 14 57 16 245 e androidruntime 6404 at java lang reflect method invokenative native method 11 21 14 57 16 245 e androidruntime 6404 at java lang reflect method invoke method java 507 11 21 14 57 16 245 e androidruntime 6404 at com android internal os zygoteinit methodandargscaller run zygoteinit java 839 11 21 14 57 16 245 e androidruntime 6404 at com android internal os zygoteinit main zygoteinit java 597 11 21 14 57 16 245 e androidruntime 6404 at dalvik system nativestart main native method
baseflowphotoview
dynamically re render image base on what be visible
Enhancement
this may be solve but I be look for a way to only load in the image the portion that be visible on the screen I be run into an issue where I be load a fullsize image 1080p and overflow the memory I could scale it down but I want to be able to still zoom effectively
baseflowphotoview
why so many final method
Enhancement
as the title state why be so many method of photoviewattache final impossible to extend some of the functionality without create a separate version of the library
baseflowphotoview
be there any problem if I use a button to change the imagesource of photoview
Question
by now photoview have some problem with the viewpager so I want to do like this final int dw r drawable g one r drawable g three photoview setimagedrawable getresource getdrawable dw 0 findviewbyid r i d pic button setonclicklistener new view onclicklistener override public void onclick view v photoview setimagedrawable getresource getdrawable dw 1 be there something else I should do to avoid the problem and improve the efficiency thank you
baseflowphotoview
reduce image quality while zoom in progress
Question
be it possible to implement decrease image quality on begining of pinch zoom and restore on the end of pinch zoom I would like to contribute if it be possible to implement in this project correctly
baseflowphotoview
photoview getscale doesn t work
Question
dear your custom view be too awesome and I use this to build a simple photo tag app and when I use photoview getscale with log d I find that it always return 1 0 the attacher work well do something go wrong
baseflowphotoview
one finger zoom enable by default on kitkat
Enhancement
just upgrade to 4 4 and I notice that image now randomly zoom in with one finger zooming similar to gmap I didn t experience this with 4 3 so wonder if they ve change the default behaviour somehow
baseflowphotoview
reuse of photoview
Bug
hi 1 thank you for amazing lib 2 I ve get an issue recently I d like to reuse photoview to avoid often creation in pageradapter here be my code public class pictureadapter extend pageradapter private static final int pull size 3 private queue viewpool new linkedlist override public object instantiateitem viewgroup container int position photoview pv viewpool poll if pv null pv new photoview pv setonmatrixchangelistener new matrixchangedlistener pv setonphototaplistener new phototaplistener pv setscaletype imageview scaletype fit center imageloader loadimage imgurl get position pv viewpager container addview pv 0 return pv override public void destroyitem viewgroup container int position object object photoview pv photoview object viewpager container removeview pv if viewpool size pull size pv setonmatrixchangelistener null pv setonphototaplistener null pv setimagebitmap null viewpool add pv all image be load and show fine the problem be that reuse photoview object do not allow to zoom the picture once I run app and create photoview object first time everything include zoom work fine after I do a few swipe so some photoview object save in viewpool and use again new image be load into exist photoview object and be show but I can not zoom it any more why do it happen if I don t reuse photoview like in the example samplepageradapter it work fine but obviously reuse be well what do you think
baseflowphotoview
how to change the transition effect animation speed
Enhancement
how to change the transition effect animation speed it s so fast for my application I need to retard a little bit to load the next image
baseflowphotoview
problem with pinch zoom
Question
problem when I try to pinch image in viewpager screenshot 2013 10 30 16 56 19
baseflowphotoview
viewpager not allow to scroll the image
Bug
it seem like the viewpager be not allow to scroll the image anymore in the late release v1 2 2 the version that be publish in google play november seem to still work be this a feature or a bug
baseflowphotoview
bug when show long image with android4 0
Bug
I have bulid a project accord to your sample code but when I change the test image with a long image width 440px height 3238px it can not display in android4 0 but it can show in android 2 2 I have push my code here
baseflowphotoview
imageview inside viewpager ignore layout param
Bug
I have an imageview in a fragment host by a view pager the fragment layout be a relativelayout and the imageview be centerpositione inside of it when I initialize the photoattacher with the imageview the image start at the top of the screen instead of in the center of the screen if I touch and drag a tiny bit in any direction the image immediately snap into place the image be load dynamically from the web if that be useful
baseflowphotoview
make photoviewattacher ondoubletap motionevent ev not final
Enhancement
photoviewattacher ondoubletap motionevent ev be final it s it possible to make it not final or give another way to override in our case only need a double tap for zoom between the minimum and maximum zoom level
baseflowphotoview
double tap and hold gesture
Enhancement
it would be great if photoview would support the upcoming double tap and hold gesture as know from the new google map api v2 and google chrome would it be possible to extend this library by this gesture
baseflowphotoview
image size and rotation
Question
dear when I put image in fix size for example 1920 1080 it show in some device good and the other show with blank edge so if I put android scaletype fitxy it s work very good but when I rotate the screen it become not good any idea about that
baseflowphotoview
draw rectangle over image
Question
dear I try to draw rectangle over image in the viewpager activity but I can not I get the pixel from image photoview setonviewtaplistener new onviewtaplistener override public void onviewtap view view float x float y float x1 x float y1 y draw rect in the x1 y1 position and want to draw it in the x1 y1 position any help plz
baseflowphotoview
can not move around a zoom image in 1 2 2 when it be place inside viewpager
Bug
in the late version 1 2 2 the photoview behavior when it be place inside a viewpager be different from 1 2 1 in the previous version you can easily perform an image zoom and move around the image in this new version it be hard to move to the image bound as the viewpager be intercept touch event and try to switch page instead of move inside zoom image
baseflowphotoview
show the image its height be very big
Enhancement
for example the image s height 14000px but its width only be 600px if compress the image can t to see clearly so how to do this can use bitmapregiondecoder to realize
baseflowphotoview
add rotate gesture detector
Enhancement
add rotation gesture detector and allow it s on demand turn on off
baseflowphotoview
get arrayindexoutofboundsexception with quick pinch or turn portrait landscape
Bug
09 19 17 02 59 664 e androidruntime 11277 java lang arrayindexoutofboundsexception
baseflowphotoview
current dev branch head version be incompatible for api level below 11
Bug
the incompatible call to view getx and view gety be on line l500 on current head of dev with late commit be 27e8d378b29469353c9ecc613778c2783ae18ae3 I will try to fix this and submit a pull request as soon as I can but if you already have a fix for this on backstage let I know as far as I know the current master version doesn t have this problem maybe it be possible to adapt the solution from there
baseflowphotoview
eclipse adt support miss on dev branch how to build photoview
Bug
on current version 68464c72e6b6a58d90b9213206209367e6e0c05a of the dev branch support for use photoview as an android library in e g eclipse adt be go support for this be delete in commit 8f96de586cd8d99d3d004b61860bb1ca8b94d1da I try to include photoview as a simple java dependency but have problem so I revert that commit to re enable the library project support what would be the proper way to build photoview in combination with our app
baseflowphotoview
nullpointerexception during setscale on commit 68464c72e6b6a58d90b9213206209367e6e0c05a
Bug
dev branch of photoview on commit 68464c72e6b6a58d90b9213206209367e6e0c05a this be reproducable in our app if you use a viewpager and swipe to another page very quickly after that the callback from the asynchronous network loading mechanism try to update the photoview and set its scale my diagnosis it seem that the pagefragment that be go clean up the photoview and its photoviewattacher by call mattacher cleanup in photoview ondetachedfromwindow cleanup nullifie the mimageview reference which be not check in photoviewattacher setscale float boolean stacktrace java lang nullpointerexception at uk co senab photoview photoviewattacher setscale photoviewattacher java 486 at uk co senab photoview photoviewattacher setscale photoviewattacher java 481 at uk co senab photoview photoview setscale photoview java 155 at de billiger android product gallery productgalleryviewpageractivity productimagerequestlistener onrequestsuccess productgalleryviewpageractivity java 191 at de billiger android product gallery productgalleryviewpageractivity productimagerequestlistener onrequestsuccess productgalleryviewpageractivity java 1 at com octo android robospice request requestprocessor resultrunnable run requestprocessor java 469 at android os handler handlecallback handler java 615 at android os handler dispatchmessage handler java 92 at android os looper loop looper java 137 at android app activitythread main activitythread java 4898 at java lang reflect method invokenative native method at java lang reflect method invoke method java 511 at com android internal os zygoteinit methodandargscaller run zygoteinit java 1008 at com android internal os zygoteinit main zygoteinit java 775 at dalvik system nativestart main native method my fix would be to check mimageview against null in setscale and simply return if it be null I will send a pull request for this
baseflowphotoview
how to add a textview with the image number
Question
how to add a textview with the image number below the picture on display in the viewpageractivity sample for example in the textview the text be image 1 of 10 if you pass to the next image the textview update to image 2 of 10 thank you the photoview it s a awesome work
baseflowphotoview
how do I extract the rectange of what be visible
Question
I m try to use the photoview library to build a cropping tool for photo but I m have trouble understand the value return by getdisplayrect I set the photo on the imageview like so photo setimagedrawable new bitmapdrawable getresource image where image be the bitmap object I then setup some scaling value float minscale float image getwidth float image getheight float image getwidth float image getheight float image getheight float image getwidth attacher setmaxscale minscale 5f attacher setmidscale minscale 2 5f attacher setminscale minscale attacher setscale minscale float image getwidth 2f float image getheight 2f false attacher update where attacher be the photoviewattacher object when the user be do I use the following to determine the portion of the bitmap that s visible in the imageview rectf rect attacher getdisplayrect float scale attacher getscale photodata ret new photodata datum ret x int math abs rect leave scale ret y int math abs rect top scale ret width int rect width scale ret height int rect height scale I get unexpected result though maybe someone here can provide some insight
baseflowphotoview
java lang arrayindexoutofboundsexception length 1 index 1
Bug
hi I try to use your library but I have the exception bellow when zoom in 08 30 22 44 43 437 20210 20210 com e androidruntime fatal exception main java lang arrayindexoutofboundsexception length 1 index 1 at android support v4 widget viewdraghelper shouldintercepttouchevent viewdraghelper java 1004 at android support v4 widget drawerlayout onintercepttouchevent drawerlayout java 855 at android view viewgroup dispatchtouchevent viewgroup java 1852 at android view viewgroup dispatchtransformedtouchevent viewgroup java 2209 at android view viewgroup dispatchtouchevent viewgroup java 1952 at android view viewgroup dispatchtransformedtouchevent viewgroup java 2209 at android view viewgroup dispatchtouchevent viewgroup java 1952 at android view viewgroup dispatchtransformedtouchevent viewgroup java 2209 at android view viewgroup dispatchtouchevent viewgroup java 1952 at com android internal policy impl phonewindow decorview superdispatchtouchevent phonewindow java 1966 at com android internal policy impl phonewindow superdispatchtouchevent phonewindow java 1418 at android app activity dispatchtouchevent activity java 2424 at android support v7 app actionbaractivitydelegateic windowcallbackwrapper dispatchtouchevent actionbaractivitydelegateic java 255 at com android internal policy impl phonewindow decorview dispatchtouchevent phonewindow java 1914 at android view view dispatchpointerevent view java 7564 at android view viewrootimpl viewpostimeinputstage processpointerevent viewrootimpl java 3883 at android view viewrootimpl viewpostimeinputstage onprocess viewrootimpl java 3778 at android view viewrootimpl inputstage deliver viewrootimpl java 3379 at android view viewrootimpl inputstage ondelivertonext viewrootimpl java 3429 at android view viewrootimpl inputstage forward viewrootimpl java 3398 at android view viewrootimpl asyncinputstage forward viewrootimpl java 3483 at android view viewrootimpl inputstage apply viewrootimpl java 3406 at android view viewrootimpl asyncinputstage apply viewrootimpl java 3540 at android view viewrootimpl inputstage deliver viewrootimpl java 3379 at android view viewrootimpl inputstage ondelivertonext viewrootimpl java 3429 at android view viewrootimpl inputstage forward viewrootimpl java 3398 at android view viewrootimpl inputstage apply viewrootimpl java 3406 at android view viewrootimpl inputstage deliver viewrootimpl java 3379 at android view viewrootimpl deliverinputevent viewrootimpl java 5419 at android view viewrootimpl doprocessinputevent viewrootimpl java 5399 at android view viewrootimpl enqueueinputevent viewrootimpl java 5370 at android view viewrootimpl windowinputeventreceiver oninputevent viewrootimpl java 5493 at android view inputeventreceiver dispatchinputevent inputeventreceiver java 182 at android view inputeventreceiver nativeconsumebatchedinputevent native method at android view inputeventreceiver consumebatchedinputevent inputeventreceiver java 174 at android view viewrootimpl doconsumebatchedinput viewrootimpl java 5472 at android view viewrootimpl consumebatchedinputrunnable run viewrootimpl java 5512 at android view choreographer callbackrecord run choreographer java 749 at android view choreographer docallback choreographer java 562 at android view choreographer doframe choreographer java 530 at android view choreographer framedisplayeventreceiver run choreographer java 735 at android os handler handlecallback handler java 730 at android os handler dispatchmessage handler java 92 at android os looper loop looper java 137 at android app activitythread main activitythread java 5103 at java lang reflect method invokenative native method at java lang reflect method invoke method java 525 at com android internal os zygoteinit methodandargscaller run zygoteinit java 737 at com android internal os zygoteinit main zygoteinit java 553 at dalvik system nativestart main native method
baseflowphotoview
be there any way to rotate the image
Enhancement
I want to rotate the image by 90 be that possible
baseflowphotoview
java lang illegalstateexception imageview no long exist you should not use this photoviewattacher any more
Bug
the full error be java lang illegalstateexception imageview no long exist you should not use this photoviewattacher any more uk co senab photoview photoviewattacher getimageview photoviewattacher java 209 uk co senab photoview photoviewattacher onsingletapconfirme photoviewattacher java 351 android view gesturedetector gesturehandler handlemessage gesturedetector java 320
baseflowphotoview
distortion during fle on right and bottom edge on gingerbread device
Bug
there be a subtle flicker distortion on many gingerbread phone when the user scroll right into the right or bottom edge and lift their finger cause the fle animation this can be observe in the demo app if you enable the logging in the run method of flingrunnable and watch the new x and y value return by the scroller you will see something like this when scroll into the bottom edge 06 24 09 12 04 589 d photoviewattacher 1260 fling run currentx 252 currenty 151 newx 252 newy 151 06 24 09 12 04 609 d photoviewattacher 1260 fling run currentx 252 currenty 151 newx 251 newy 151 06 24 09 12 05 319 d photoviewattacher 1260 fling run currentx 259 currenty 151 newx 259 newy 0 06 24 09 12 05 349 d photoviewattacher 1260 fling run currentx 259 currenty 0 newx 261 newy 151 06 24 09 12 05 369 d photoviewattacher 1260 fling run currentx 261 currenty 151 newx 262 newy 151 06 24 09 12 05 399 d photoviewattacher 1260 fling run currentx 262 currenty 151 newx 263 newy 151 see how those value jump to zero there s a visible flicker when that happen it have be observe on the follow phone samsung galaxy gio 2 3 3 samsung galaxy pocket 2 3 7 htc nexus one 2 3 6 tecno n3 2 3 5 for some reason though it do not occur on the galaxy s2 2 3 4 I ve track the problem down to the implementation of overscroller in gingerbread it seem to return 0 for the edge if any it hit on the first call to computescrolloffset it be not document but there be major change to the internal working of overscroller in ics probably first show up in honeycomb but I can t view the source so can t tell for sure these change seem to fix this problem I ll post a pull request soon with a workaround for this problem on gingerbread
baseflowphotoview
time on zoom do not feel natural
Enhancement
refactore to use a timeinterpolator with the animation would help so that it could be easily replace with an acceleratedecelerateinterpolator
baseflowphotoview
zoom out be janky
Bug
when zoom in use a focus point make sense but when use a user supply focus point for zoom out the zoom end up be chunky because it invariably hit a boundary I think use a carefully calculate focus point when zoom out would eliminate the jank
baseflowphotoview
setdisplayrect
Enhancement
I would like to request the addition of a setdisplayrect to be able to save and restore the state of photoview
baseflowphotoview
any support for animate gif
Invalid
thank for the wonderful library will there be any support for animate gif in the near future
baseflowphotoview
with hardware acceleration enable gl10 gl max texture size get sometimes exceed
Invalid
when the device support hardware acceleration and it s on then maximum size of image support by the library be restrict to value of gl10 gl max texture size it s only 2048x2048 both in galaxy nexus and galaxy s2 that s the real problem which make the library useless in most of application I have read that the way to go around it be to cut image into tail but I think it s not easy to add such functionality to this library do you have any other suggestion how to go around it or maybe do you know similar library without this problem nexus 10 error bitmap too large to be upload into a texture 6667x667 max 4096x4096
baseflowphotoview
strike with activatin n th image by default
Invalid
I wish to go to n th image once the user activate the viewpager activity I be pass the image index via putextra how can I activate the specific photoview once the activity launch
baseflowphotoview
how to scroll to a give coordinate in image
Enhancement
when the image be zoom I want photoviewer to scroll to a give coordinate x y of the image if that coordinate be not visible be there a method in the library to achieve this I try to use zoomto function but it didn t work or I didn t use it with proper parameter
baseflowphotoview
example of extraction of select bitmap
Enhancement
it be not clear how to extract the select bitmap we have attacher getdisplayrect but its value be not define well why be they float why be they sometimes negative it seem like top and right be relative to the original image scale by attacher getscale bottom and right be the scale width and height of the selection seem like with the current code we need to do something like and this be probably wrong java rectf rect attacher getvisiblerect float scale attacher getscale bitmap createbitmap source rect leave scale rect top scale rect right scale rect bottom scale can we get a clear example I d also love for the library to either provide a rect in source coordinate of what be visible or to output a bitmap of the same lastly if all that be a bad idea then perhaps you should just recommend a fix like this to extract the image
baseflowphotoview
move and zoom use gamepad
Enhancement
I would like to control the photoview use my xbox gamepad the zoomto method do not work well because it be animate and once the picture be zoom in I can not move until I zoom out again basically I want to use the left shoulder button to zoom axis value 0 0 be totally zoom out and axis value 1 0 be totally zoom in and the right analog stick to move axis value x 1 0 and axis value y 1 0 be the upper left corner and axis value x 1 0 and axis value y 1 0 the bottom right could please someone provide a method so I could just send these axis value to zoom and move in the picture
baseflowphotoview
illegalargumentexception pointerindex out of range while use many finger to zoom in and out
Bug
android 4 2 1 samsung galaxy nexus java lang illegalargumentexception pointerindex out of range at android view motionevent nativegetaxisvalue native method at android view motionevent getx motionevent java 1981 at android support v4 view motioneventcompateclair getx motioneventcompateclair java 32 at android support v4 view motioneventcompat eclairmotioneventversionimpl getx motioneventcompat java 86 at android support v4 view motioneventcompat getx motioneventcompat java 184 at android support v4 view viewpager onintercepttouchevent viewpager java 1339 at android view viewgroup dispatchtouchevent viewgroup java 1817 at android view viewgroup dispatchtransformedtouchevent viewgroup java 2174 at android view viewgroup dispatchtouchevent viewgroup java 1917 at android view viewgroup dispatchtransformedtouchevent viewgroup java 2174 at android view viewgroup dispatchtouchevent viewgroup java 1917 at android view viewgroup dispatchtransformedtouchevent viewgroup java 2174 at android view viewgroup dispatchtouchevent viewgroup java 1917 at android view viewgroup dispatchtransformedtouchevent viewgroup java 2174 at android view viewgroup dispatchtouchevent viewgroup java 1917 at com android internal policy impl phonewindow decorview superdispatchtouchevent phonewindow java 1953 at com android internal policy impl phonewindow superdispatchtouchevent phonewindow java 1405 at android app activity dispatchtouchevent activity java 2410 at com android internal policy impl phonewindow decorview dispatchtouchevent phonewindow java 1901 at android view view dispatchpointerevent view java 7419 at android view viewrootimpl deliverpointerevent viewrootimpl java 3220 at android view viewrootimpl deliverinputevent viewrootimpl java 3165 at android view viewrootimpl doprocessinputevent viewrootimpl java 4292 at android view viewrootimpl enqueueinputevent viewrootimpl java 4271 at android view viewrootimpl windowinputeventreceiver oninputevent viewrootimpl java 4363 at android view inputeventreceiver dispatchinputevent inputeventreceiver java 179 at android view inputeventreceiver nativeconsumebatchedinputevent native method at android view inputeventreceiver consumebatchedinputevent inputeventreceiver java 171 at android view viewrootimpl doconsumebatchedinput viewrootimpl java 4342 at android view viewrootimpl consumebatchedinputrunnable run viewrootimpl java 4382 at android view choreographer callbackrecord run choreographer java 749 at android view choreographer docallback choreographer java 562 at android view choreographer doframe choreographer java 530 at android view choreographer framedisplayeventreceiver run choreographer java 735 at android os handler handlecallback handler java 725 at android os handler dispatchmessage handler java 92 at android os looper loop looper java 137 at android app activitythread main activitythread java 5191 at java lang reflect method invokenative native method at java lang reflect method invoke method java 511 at com android internal os zygoteinit methodandargscaller run zygoteinit java 795 at com android internal os zygoteinit main zygoteinit java 562 at dalvik system nativestart main native method
baseflowphotoview
padding be ignore while determine image size
Bug
padding although can be set and look ok for top left corner image be scale as if it be not set after resize scrolling also doesn t take padding into account
ibotpeachesapktool
bug attribute android graph not find
Bug
information 1 apktool version apktool version 2 9 3 2 operating system mac linux windows mac 3 apk from playstore rom other website appcenter ms 4 java version java version 17 0 6 stacktrace logcat I use apktool 2 9 3 I check whether source have change I check whether source have change I check whether source have change I check whether source have change I check whether source have change I check whether source have change I check whether resource have change I build resource w user kien download app release final re navigation nav graph delivery xml 4 error attribute android graph not find w user kien download app release final re navigation nav graph delivery xml 5 error attribute android graph not find w user kien download app release final re navigation nav graph delivery xml 6 error attribute android graph not find w user kien download app release final re navigation nav graph delivery confirmation xml 4 error attribute android graph not find w user kien download app release final re navigation nav graph delivery confirmation xml 5 error attribute android graph not find w user kien download app release final re navigation nav graph delivery confirmation xml 6 error attribute android graph not find w user kien download app release final re navigation nav graph delivery confirmation xml 7 error attribute android graph not find w user kien download app release final re navigation nav graph delivery confirmation xml 10 error attribute android uri not find w user kien download app release final re navigation nav graph delivery confirmation picture task with tag xml 6 error attribute android uri not find w user kien download app release final re navigation nav graph delivery step xml 4 error attribute android graph not find w user kien download app release final re navigation nav graph delivery step xml 5 error attribute android graph not find w user kien download app release final re navigation nav graph delivery step xml 6 error attribute android graph not find w user kien download app release final re navigation nav graph delivery step xml 7 error attribute android graph not find w user kien download app release final re navigation nav graph delivery step xml 8 error attribute android graph not find w user kien download app release final re navigation nav graph delivery step xml 9 error attribute android graph not find w user kien download app release final re navigation nav graph delivery step container xml 4 error attribute android graph not find w user kien download app release final re navigation nav graph delivery step container xml 5 error attribute android graph not find w error fail link file resource brut androlib exception androlibexception brut common brutexception could not exec exit code 1 var folder kq 802dl3l97tx6h8h2jfm76rb80000gn t brut util jar 72632385855600719113236917237138424044 tmp link o var folder kq 802dl3l97tx6h8h2jfm76rb80000gn t apktool5321095526765294838 tmp package i d 127 min sdk version 23 target sdk version 33 version code 583 version name v4 2409 2 no auto version no version vector no version transition no resource dedupe allow reserve package i d no compile sdk metadata warn manifest validation e var folder kq 802dl3l97tx6h8h2jfm76rb80000gn t apktool3369441445756230464 tmp 0 arsc I user kien library apktool framework 1 apk manif user kien download app release final androidmanifest xml user kien download app release final build resource zip step to reproduce 1 apktool d app release apk 2 apktool b app release use aapt2 framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app no apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes 3 if you be try to install a modify apk do you resign it no this error be when build apk 4 be you use the late apktool version yes
ibotpeachesapktool
bug detection of no res fail for assembly for split apks
Bug
information 1 apktool version apktool version 2 8 1 2 operating system mac linux window window 10 3 apk from playstore rom other playstore apkmirror 4 java version java version openjdk 17 0 7 2023 04 18 stacktrace logcat when unpack a split apk without any resource disassembly the packing fail apktool d no res no src split chrome apk f o unpacked I use apktool 2 8 1 on split chrome apk I copy raw manifest I copy raw class dex file I copy asset and lib I copy unknown file I copy original file apktool b use aapt2 unpacked o pack 1 unsigned apk I use apktool 2 8 1 I copy x test unpacked class dex file fatal error 1 1 content be not allow in prolog I check whether resource have change I build androidmanif xml w x test unpacked androidmanifest xml 1 error not well form invalid token w parse androidmanifest xml fail treat it as raw file I copy raw androidmanifest xml I build apk file I copy unknown file dir I build apk into x test pack 1 unsigned apk the apk get build and can be instal adb s emulator 5554 install trichromelibrary apk perform stream install success adb s emulator 5554 install multiple base apk split chrome apk split feedv2 apk success the app appear inside the launcher without an icon image if you run it it crash with this stacktrace from logcat beginning of crash 10 03 15 01 14 892 7575 7575 e androidruntime fatal exception main 10 03 15 01 14 892 7575 7575 e androidruntime process com android chrome pid 7575 10 03 15 01 14 892 7575 7575 e androidruntime java lang runtimeexception unable to instantiate application org chromium chrome browser base splitchromeapplication package com android chrome java lang runtimeexception fail to parse xml configuration from 0 resource name obfuscate 10 03 15 01 14 892 7575 7575 e androidruntime at android app loadedapk makeapplicationinner loadedapk java 1466 10 03 15 01 14 892 7575 7575 e androidruntime at android app loadedapk makeapplicationinner loadedapk java 1395 10 03 15 01 14 892 7575 7575 e androidruntime at android app activitythread handlebindapplication activitythread java 6720 10 03 15 01 14 892 7575 7575 e androidruntime at android app activitythread nest mhandlebindapplication unknown source 0 10 03 15 01 14 892 7575 7575 e androidruntime at android app activitythread h handlemessage activitythread java 2133 10 03 15 01 14 892 7575 7575 e androidruntime at android os handler dispatchmessage handler java 106 10 03 15 01 14 892 7575 7575 e androidruntime at android os looper looponce looper java 201 10 03 15 01 14 892 7575 7575 e androidruntime at android os looper loop looper java 288 10 03 15 01 14 892 7575 7575 e androidruntime at android app activitythread main activitythread java 7872 10 03 15 01 14 892 7575 7575 e androidruntime at java lang reflect method invoke native method 10 03 15 01 14 892 7575 7575 e androidruntime at com android internal os runtimeinit methodandargscaller run runtimeinit java 548 10 03 15 01 14 892 7575 7575 e androidruntime at com android internal os zygoteinit main zygoteinit java 936 10 03 15 01 14 892 7575 7575 e androidruntime cause by java lang runtimeexception fail to parse xml configuration from 0 resource name obfuscate 10 03 15 01 14 892 7575 7575 e androidruntime at android security net config xmlconfigsource ensureinitialize xmlconfigsource java 89 10 03 15 01 14 892 7575 7575 e androidruntime at android security net config xmlconfigsource getperdomainconfigs xmlconfigsource java 55 10 03 15 01 14 892 7575 7575 e androidruntime at android security net config manifestconfigsource getperdomainconfigs manifestconfigsource java 45 10 03 15 01 14 892 7575 7575 e androidruntime at android security net config applicationconfig ensureinitialize applicationconfig java 175 10 03 15 01 14 892 7575 7575 e androidruntime at android security net config applicationconfig iscleartexttrafficpermitte applicationconfig java 130 10 03 15 01 14 892 7575 7575 e androidruntime at android security net config networksecurityconfigprovider handlenewapplication networksecurityconfigprovider java 60 10 03 15 01 14 892 7575 7575 e androidruntime at android app loadedapk makeapplicationinner loadedapk java 1457 10 03 15 01 14 892 7575 7575 e androidruntime 11 more 10 03 15 01 14 892 7575 7575 e androidruntime cause by org xmlpull v1 xmlpullparserexception unexpected start tag find shape expect network security config 10 03 15 01 14 892 7575 7575 e androidruntime at com android internal util xmlutil begindocument xmlutil java 1699 10 03 15 01 14 892 7575 7575 e androidruntime at android security net config xmlconfigsource parsenetworksecurityconfig xmlconfigsource java 315 10 03 15 01 14 892 7575 7575 e androidruntime at android security net config xmlconfigsource ensureinitialize xmlconfigsource java 83 10 03 15 01 14 892 7575 7575 e androidruntime 17 more step to reproduce 1 apktool d no res no src split chrome apk f o unpacked 2 apktool b use aapt2 unpacked o pack 1 unsigned apk I m try these step on 3 file of a base apk and split the error only happen when build an extract split apk base apk ok split chrome apk error split feedv2 apk error apk if this apk can be freely share please upload attach a link to it chrome 117 zip question to ask before submission 1 have you try apktool d apktool b without change anything yes 3 if you be try to install a modify apk do you resign it yes 4 be you use the late apktool version yes
ibotpeachesapktool
bug chunk end be not a valid entry
Bug
information 1 apktool version apktool version 2 6 1 2 operating system mac linux windows mac also reproduce on window 3 apk from playstore rom other play store stacktrace logcat I use apktool 2 6 1 on com google android googlequicksearchbox 13 36 8 29 arm64 apk I load resource table exception in thread main java lang illegalargumentexception chunk end be not a valid entry at com google common base precondition checkargument precondition java 220 at com google common base splitter mapsplitter split splitter java 528 at brut androlib re decoder stringblock tag tostre stringblock java 167 at java base java lang string valueof string java 4213 at java base java lang stringbuilder append stringbuilder java 173 at brut androlib re decoder stringblock processstyledstring stringblock java 260 at brut androlib re decoder stringblock gethtml stringblock java 288 at brut androlib re decoder arscdecoder readvalue arscdecoder java 366 at brut androlib re decoder arscdecoder readentrydata arscdecoder java 285 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 261 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 184 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 135 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 84 at brut androlib re decoder arscdecoder decode arscdecoder java 50 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 783 at brut androlib re androlibresource loadmainpkg androlibresource java 64 at brut androlib re androlibresource getrestable androlibresource java 56 at brut androlib androlib getrestable androlib java 70 at brut androlib apkdecoder getrestable apkdecoder java 247 at brut androlib apkdecoder decode apkdecoder java 109 at brut apktool main cmddecode main java 175 at brut apktool main main main java 79 step to reproduce 1 apktool d google app apk framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk if this apk can be freely share please upload attach a link to it we ve only reproduce the issue on the late build of the google search app and only on the 13 x x 29 build use by pixel phone which presumably have different resource last know good version most recent know bad version question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it n a 3 be you use the late apktool version yes debug detail my colleague be able to trace the string resource at fault to this one however we re not sure why there s now a problem as the same string also appear in the know good version to use assistant voice type update your android system update learn more
ibotpeachesapktool
bug decode xml value with cdata miss style information
Bug
information 1 apktool version apktool version 2 6 1 2 operating system mac linux windows linux 3 apk from playstore rom other other stacktrace logcat w tmp re string xml 12345 error error parse xml not well form invalid token incorrect xml line be as follow cdata some text here a href 1 s link a more text here as you can see character isn t escape create an invalid xml file step to reproduce 1 apktool d app apk 2 apktool b app also try with aapt2 same problem apk private app question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it 3 be you use the late apktool version yes
ibotpeachesapktool
bug resource notfoundexception
Bug
information 1 apktool version apktool version 2 6 1 2 operating system mac linux windows win 3 apk from playstore rom other playstore stacktrace logcat 07 12 12 31 11 459 26190 26190 e androidruntime process com digibite accubattery pid 26190 07 12 12 31 11 459 26190 26190 e androidruntime java lang runtimeexception unable to start activity componentinfo com digibite accubattery com digibite abatterysaver batterysaveractivity android content re resource notfoundexception file aod from xml type layout resource i d 0x7f0c001c step to reproduce 1 apktool decode build framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk link question to ask before submission 1 have you try apktool d apktool b without change anything 2 if you be try to install a modify apk do you resign it 3 be you use the late apktool version yes yes yes
ibotpeachesapktool
bug android localeconfig in manif
Bug
information 1 apktool version apktool version 2 6 1 and old 2 operating system mac linux windows mac 3 apk from playstore rom other playstore stacktrace logcat include stacktrace here w xxx bookmarkfolder v5 0 5 129 re xml locale config xml 3 error unbound prefix w xxx bookmarkfolder v5 0 5 129 re xml locale config xml error file fail to compile brut androlib androlibexception brut common brutexception could not exec exit code 1 var folder sm q39kpprx0175hypt zz76qb00000gn t brut util jar 70428711240655456118660710679018899199 tmp compile dir xxx bookmarkfolder v5 0 5 129 re legacy o xxx bookmarkfolder v5 0 5 129 build resource zip step to reproduce 1 apktool advance b d p application tool telefonapps myapktool app content resource framework use aapt2 xxx bookmarkfolder v5 0 5 129 framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk if this apk can be freely share please upload attach a link to it bookmarkfolder v5 0 5 129 apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it not possible 3 be you use the late apktool version yes try also old version error file xxx bookmarkfolder v5 0 5 129 re xml locale config xml w xxx bookmarkfolder v5 0 5 129 re xml locale config xml 3 error unbound prefix
ibotpeachesapktool
bug miss semicolon in ampersand during decode
Bug
information 1 apktool version apktool version 2 6 0 2 operating system mac linux windows mac linux 3 apk from playstore rom other playstore for the give apk two ampersand in re value string xml decode incorrectly these decode as amp instead of they be embed in a string within an html element within a string within an html element look like this sorry this isn t what you expect contact the seller to let they know once you agree on a solution use paypal s resolution centre so they can monitor the return process to make sure both you and the seller be protect if the item be counterfeit let we know by send this report we ll remove the item and take the appropriate action to make sure the depop community be safe stacktrace logcat the error be in decode but build the incorrectly decoded file result in the following stacktrace from apklab rebuilding depop apk into depop dist java jar user jack apklab apktool 2 6 0 jar b user jack work depop depop use aapt2 I use apktool 2 6 0 I check whether source have change I smale smali folder into class dex I check whether source have change I smale smali classes20 folder into classes20 dex I check whether source have change I smale smali classes18 folder into classes18 dex I check whether source have change I smale smali classes11 folder into classes11 dex I check whether source have change I smale smali classes16 folder into classes16 dex I check whether source have change I smale smali classes17 folder into classes17 dex I check whether source have change I smale smali classes10 folder into classes10 dex I check whether source have change I smale smali classes26 folder into classes26 dex I check whether source have change I smale smali classes19 folder into classes19 dex I check whether source have change I smale smali classes21 folder into classes21 dex I check whether source have change I smale smali classes9 folder into classes9 dex I check whether source have change I smale smali classes7 folder into classes7 dex I check whether source have change I smale smali classes6 folder into classes6 dex I check whether source have change I smale smali classes8 folder into classes8 dex I check whether source have change I smale smali classes24 folder into classes24 dex I check whether source have change I smale smali classes23 folder into classes23 dex I check whether source have change I smale smali classes15 folder into classes15 dex I check whether source have change I smale smali classes12 folder into classes12 dex I check whether source have change I smale smali classes13 folder into classes13 dex I check whether source have change I smale smali classes14 folder into classes14 dex I check whether source have change I smale smali classes22 folder into classes22 dex I check whether source have change I smale smali classes25 folder into classes25 dex I check whether source have change I smale smali classes3 folder into classes3 dex I check whether source have change I smale smali classes4 folder into classes4 dex I check whether source have change I smale smali classes5 folder into classes5 dex I check whether source have change I smale smali classes2 folder into classes2 dex I check whether resource have change I build resource w user jack work depop depop re value string xml 0 error xml parser error not well form invalid token w user jack work depop depop re value string xml error file fail to compile brut androlib androlibexception brut common brutexception could not exec exit code 1 var folders ls xzl mz3x2g19yx9qlsxndf0c0000gn t brut util jar 144578456943816367313103059144283132130 tmp compile dir user jack work depop depop re legacy o user jack work depop depop build resource zip rebuilding process exit with code 1 step to reproduce 1 apktool d depop apk o depop apk
ibotpeachesapktool
bug recompilation error invalid value for type layout expect a reference
Bug
information 1 apktool version apktool version 2 5 1 2 operating system mac linux window ubuntu 20 3 apk from playstore rom other apkpure com stacktrace logcat bro local ig apk apktool d ig 196 apkpure apk bro local ig apk apktool b use aapt2 o out apk ig 196 apkpure I use apktool 2 5 1 eaab72 snapshot I check whether source have change I check whether source have change I check whether source have change I check whether source have change I check whether source have change I check whether source have change I check whether resource have change I build resource w home bro ig apk ig 196 apkpure re value v22 layout xml 12 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 13 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 14 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 15 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 16 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 17 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 18 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 19 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 20 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 21 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 22 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 23 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 24 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 25 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 26 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 27 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 28 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 29 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 30 error invalid value for type layout expect a reference w home bro ig apk ig 196 apkpure re value v22 layout xml 31 error invalid value for type layout expect a reference brut androlib androlibexception brut common brutexception could not exec exit code 1 tmp brut util jar 77580703989672702302554212405921978723 tmp compile dir home bro ig apk ig 196 apkpure re legacy o home bro ig apk ig 196 apkpure build resource zip sample of layout xml l 46188 5c4 bcf2 l 4674c f90 e5cc l 476dc a50 ac5a step to reproduce 1 apktool d ig 196 apkpure apk 2 apktool b use aapt2 o out apk ig 196 apkpure framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk armeabi v7a android 5 0 question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 be you use the late apktool version yes
ibotpeachesapktool
bug tag be escape to annotation in plural xml
Bug
information 1 apktool version apktool version 2 5 0 2 operating system mac linux windows linux 3 apk from playstore rom other apkmirror step to reproduce 0 ensure app render annotation properly 1 apktool d 2 check re value plural xml to see all tag be escape to annotation 3 apktool b use aapt2 sign and install 4 app display annotation string workaround replace all annotation with yes 2 if you be try to install a modify apk do you resign it yes 3 be you use the late apktool version yes
ibotpeachesapktool
bug strange file create outside output folder that contain symbol
Bug
information 1 apktool version apktool version 2 5 0 2 operating system mac linux window window 3 apk from playstore rom other other issue description I have see a strange file many time that be always create on my same directory it actually contain an androidmanif xml I keep delete it but I just give up leave it alone be have this issue for month until I realize it be cause by apktool jar I be able to replicate it again by output decompile apk to a folder that contain hash symbol for example if you output to e temp folder test folder 123 outputapk it create androidmanif xml file as a strange file e temp folder test folder it doesn t happen with other symbol image not a big deal I m just wonder what make it create androidmanifest xml as a strange file lol apktool still work fine as long as you give the quote of the path if it contain space or symbol stacktrace logcat I use apktool 2 5 0 on newpipe v0 20 10 apk I load resource table I decode androidmanif xml with resource I load resource table from file c user hrrr appdata local apktool framework 1 apk I regular manifest package I decode file resource I decode value xmls I baksmale class dex I baksmale classes2 dex I copy asset and lib I copy unknown file I copy original file I copy meta inf service directory step to reproduce 1 create a folder that contain a symbol like e new folder whatever 2 java jar apktool 2 5 0 jar d newpipe v0 20 10 apk f o e new folder whatever outputapk framework none apk any you can try newpipe which do not have any error
ibotpeachesapktool
support application with multiple package
Bug
apktool late os be linux believe it or not if I decompile an apk and try to recompile it again without any change in code it fail I try use a twitter apk file I will leave here the link you can decompile it but you be unable to recompile it again even if no change be make in the code update forgot to write the log here they be the log decompiling log I use apktool 2 4 1 on twitter apk I load resource table I decode androidmanif xml with resource I load resource table from file root local share apktool framework 1 apk w could not decode attr value use undecoded value instead n android name resource value 0x7e010000 I regular manifest package I decode file resource I decode value xmls I baksmale class dex I baksmale classes2 dex I baksmale classes3 dex I baksmale classes4 dex I baksmale classes5 dex I copy asset and lib I copy unknown file I copy original file I copy meta inf service directory recompile log I use apktool 2 4 1 I check whether source have change I smale smali folder into class dex I check whether source have change I smale smali classes4 folder into classes4 dex I check whether source have change I smale smali classes5 folder into classes5 dex I check whether source have change I smale smali classes2 folder into classes2 dex I check whether source have change I smale smali classes3 folder into classes3 dex I check whether resource have change I build resource w opt testapk twitter androidmanifest xml 831 error error no resource type specify at resource with value 2113994752 w brut androlib androlibexception brut common brutexception could not exec exit code 1 tmp brut util jar 12790044432587942505 tmp p force package i d 127 min sdk version 21 target sdk version 30 version code 28820000 version name 8 82 0 release 00 no version vector f tmp apktool4379167829085885196 tmp e tmp apktool8538338056184325237 tmp 0 arsc I root local share apktool framework 1 apk s opt testapk twitter re m opt testapk twitter androidmanifest xml
ibotpeachesapktool
bug apktool can t recompile magisk manager after successfully decompilation
Bug
information 1 apktool version apktool version 2 4 1 2 operating system mac linux windows linux window 3 apk from playstore rom other from github release page open stacktrace logcat I use apktool 2 4 1 I check whether source have change I smale smali folder into class dex I check whether resource have change I build resource w mike drive magisk re animator 0 resource name obfuscate apktool duplicatename 0x7f070005 xml 4 error attribute com topjohnwu magisk state drag not find w mike drive magisk re animator v19 0 resource name obfuscate apktool duplicatename 0x7f070005 xml 4 error attribute com topjohnwu magisk state drag not find w mike drive magisk re animator v21 0 resource name obfuscate apktool duplicatename 0x7f070000 xml 4 error attribute com topjohnwu magisk state liftable not find w mike drive magisk re animator v21 0 resource name obfuscate apktool duplicatename 0x7f070000 xml 4 error attribute com topjohnwu magisk state lift not find w mike drive magisk re color 0 resource name obfuscate apktool duplicatename 0x7f0b0002 xml 4 error attribute com topjohnwu magisk alpha not find w mike drive magisk re color 0 resource name obfuscate apktool duplicatename 0x7f0b0003 xml 4 error attribute com topjohnwu magisk alpha not find w mike drive magisk re color 0 resource name obfuscate apktool duplicatename 0x7f0b0012 xml 4 error attribute com topjohnwu magisk alpha not find w mike drive magisk re color 0 resource name obfuscate apktool duplicatename 0x7f0b0013 xml 4 error attribute com topjohnwu magisk alpha not find w mike drive magisk re color 0 resource name obfuscate apktool duplicatename 0x7f0b0014 xml 4 error attribute com topjohnwu magisk alpha not find w mike drive magisk re color 0 resource name obfuscate apktool duplicatename 0x7f0b0015 xml 4 error attribute com topjohnwu magisk alpha not find w mike drive magisk re color 0 resource name obfuscate apktool duplicatename 0x7f0b0016 xml 4 error attribute com topjohnwu magisk alpha not find w mike drive magisk re color 0 resource name obfuscate apktool duplicatename 0x7f0b0017 xml 4 error attribute com topjohnwu magisk alpha not find w mike drive magisk re color 0 resource name obfuscate apktool duplicatename 0x7f0b0017 xml 5 error attribute com topjohnwu magisk alpha not find w mike drive magisk re color 0 resource name obfuscate apktool duplicatename 0x7f0b0017 xml 6 error attribute com topjohnwu magisk alpha not find w mike drive magisk re color 0 resource name obfuscate apktool duplicatename 0x7f0b009b xml 5 error attribute com topjohnwu magisk state drag not find w mike drive magisk re color 0 resource name obfuscate apktool duplicatename 0x7f0b009b xml 6 error attribute com topjohnwu magisk state drag not find w mike drive magisk re color 0 resource name obfuscate apktool duplicatename 0x7f0b009c xml 5 error attribute com topjohnwu magisk state drag not find w mike drive magisk re layout 0 resource name obfuscate apktool duplicatename 0x7f110003 xml 2 error attribute com topjohnwu magisk divider not find w mike drive magisk re layout 0 resource name obfuscate apktool duplicatename 0x7f110003 xml 2 error attribute com topjohnwu magisk dividerpadding not find w mike drive magisk re layout 0 resource name obfuscate apktool duplicatename 0x7f110005 xml 2 error attribute com topjohnwu magisk srccompat not find w mike drive magisk re value public xml 59 error no definition for declare symbol com topjohnwu magisk animator 0 resource name obfuscate apktool duplicatename 0x7f070000 w mike drive magisk re value public xml 49 error no definition for declare symbol com topjohnwu magisk animator 0 resource name obfuscate apktool duplicatename 0x7f070005 w mike drive magisk re value public xml 1016 error no definition for declare symbol com topjohnwu magisk color 0 resource name obfuscate apktool duplicatename 0x7f0b009b w mike drive magisk re value public xml 1017 error no definition for declare symbol com topjohnwu magisk color 0 resource name obfuscate apktool duplicatename 0x7f0b009c w mike drive magisk re value public xml 1039 error no definition for declare symbol com topjohnwu magisk color 0 resource name obfuscate apktool duplicatename 0x7f0b00b2 w mike drive magisk re value public xml 1040 error no definition for declare symbol com topjohnwu magisk color 0 resource name obfuscate apktool duplicatename 0x7f0b00b3 w mike drive magisk re value public xml 2214 error no definition for declare symbol com topjohnwu magisk layout 0 resource name obfuscate apktool duplicatename 0x7f110003 brut androlib androlibexception brut common brutexception could not exec exit code 1 usr bin aapt2 link o tmp apktool7294337721314623591 tmp package i d 127 min sdk version 17 target sdk version 28 version code 264 version name 7 4 1 7fa2625a no auto version no version vector no version transition no resource dedupe 0 arsc I root local share apktool framework 1 apk manif mike drive magisk androidmanifest xml mike drive magisk build resource zip I successfully decompile the app but when I try to recompile it it give I an error like above I think it s cause by the app s resource folder structure by open the original apk file as an archive abd see it s different from other app alk the png image and xml file be place in one folder name re I try without modify anything on the decompile app but it s the same I try the late version of apktool on other app and it can successfully decompile and recompile thos app after modification or without modification execpt magisk manager I attach the logcat txt file below to describe the error shortly state drag not find state liftable not find alpha not find divider not find dividepadde not find no definition for declare symbol step to reproduce 1 apktool 2 decompile the app 3 try to recompile the app after modification or without modification 4 the error occur framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it 3 be you use the late apktool version yes
ibotpeachesapktool
arbitrary resource name with period cause failure to reassemble
Bug
information 1 apktool version apktool version 2 3 4 2 operating system mac linux windows linux 3 apk from playstore rom other sample app demonstrating problem in other app stacktrace logcat I build resource w root desktop test dottednametest re value array xml 3 error error retrieve parent for item no resource find that match the give name com sampleapp array init step to reproduce 1 create a dummy sample app that include a resource use period in the name as such one 1 two 2 three 3 four 4 five 5 2 disassemble the app with apktool d and try to reassemble with apktool b and it will fail it appear the reassembly presume that because the resource name contain period in the string that it be part of some hierarchy I e have a parent when in fact it be nothing more than an arbitrary name this name be allow when build in android studio apk if this apk can be freely share please upload attach a link to it dottednametest zip debug apk be include inside the attached zip file question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it n a win t rebuild 3 be you use the late apktool version yes
ibotpeachesapktool
webview no resource find for attrs
Bug
information 1 apktool version apktool version the late v2 3 4 2 operating system mac linux window window 3 apk from playstore rom other playstore stacktrace logcat d anti compile d anti compile apktool bat b webview 57 0 2987 108 I use apktool 2 3 4 I copy webview 57 0 2987 108 class dex file I check whether resource have change I build resource w d anti compile webview 57 0 2987 108 re value public xml 66 error publicsymbol attr actionbarsize declare here be not define w d anti compile webview 57 0 2987 108 re value public xml 227 error public symbol attr backgroundtintmode declare here be not define w d anti compile webview 57 0 2987 108 re value public xml 215 error public symbol attr buttongravity declare here be not define w d anti compile webview 57 0 2987 108 re value public xml 237 error public symbol attr buttonsize declare here be not define w d anti compile webview 57 0 2987 108 re value public xml 162 error public symbol attr buttontintmode declare here be not define w d anti compile webview 57 0 2987 108 re value public xml 238 error public symbol attr colorscheme declare here be not define w d anti compile webview 57 0 2987 108 re value public xml 8 error public symbol attr displayoption declare here be not define w d anti compile webview 57 0 2987 108 re value public xml 234 error public symbol attr imageaspectratioadjust declare here be not define w d anti compile webview 57 0 2987 108 re value public xml 7 error public symbol attr navigationmode declare here be not define w d anti compile webview 57 0 2987 108 re value public xml 174 error public symbol attr showasaction declare here be not define w d anti compile webview 57 0 2987 108 re value public xml 172 error public symbol attr showdivider declare here be not define w d anti compile webview 57 0 2987 108 re value public xml 196 error public symbol attr thumbtintmode declare here be not define w d anti compile webview 57 0 2987 108 re value public xml 44 error public symbol attr tickmarktintmode declare here be not define w d anti compile webview 57 0 2987 108 re value public xml 199 error public symbol attr tracktintmode declare here be not define w d anti compile webview 57 0 2987 108 re value v21 style xml 150 error error no resource find that match the give name attr attr actionbarsize w w d anti compile webview 57 0 2987 108 re value v21 style xml 188 error error no resource find that match the give name attr attr actionbarsize w w d anti compile webview 57 0 2987 108 re value style xml 656 error error no resource find that match the give name attr attr actionbarsize w w d anti compile webview 57 0 2987 108 re value style xml 788 error error no resource find that match the give name attr attr actionbarsize w w d anti compile webview 57 0 2987 108 re value style xml 931 error error no resource find that match the give name attr attr displayoption w w d anti compile webview 57 0 2987 108 re value style xml 954 error error no resource find that match the give name attr attr showdivider w w d anti compile webview 57 0 2987 108 re value style xml 967 error error no resource find that match the give name attr attr showdivider w w d anti compile webview 57 0 2987 108 re value style xml 1037 error error no resource find that match the give name attr attr buttongravity w brut androlib androlibexception brut common brutexception could not exec exit code 1 c user luxiao 1 appdata local temp brut util jar 7161397324008131143 tmp p share lib min sdk version 21 target sdk version 25 version code 298710800 version name 57 0 2987 108 no version vector f c user luxiao 1 appdata local temp apktool2199737713723512238 tmp x 0 arsc 0 pak 0 dat 0 bin 0 re drawable hdpi v4 abc ab share pack mtrl alpha 9 png 0 png 0 re drawable hdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable hdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable hdpi v4 abc cab background top mtrl alpha 9 png 0 re drawable hdpi v4 abc list divid mtrl alpha 9 png 0 re drawable hdpi v4 abc list focus holo 9 png 0 re drawable hdpi v4 abc list longpresse holo 9 png 0 re drawable hdpi v4 abc list press holo dark 9 png 0 re drawable hdpi v4 abc list press holo light 9 png 0 re drawable hdpi v4 abc list selector disable holo dark 9 png 0 re drawable hdpi v4 abc list selector disable holo light 9 png 0 re drawable hdpi v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable hdpi v4 abc popup background mtrl mult 9 png 0 re drawable hdpi v4 abc scrubber primary mtrl alpha 9 png 0 re drawable hdpi v4 abc scrubber track mtrl alpha 9 png 0 re drawable hdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable hdpi v4 abc switch track mtrl alpha 9 png 0 re drawable hdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield activate mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield default mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield search activate mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield search default mtrl alpha 9 png 0 re drawable hdpi v4 bubble 9 png 0 re drawable hdpi v4 dropdown popup background down 9 png 0 re drawable hdpi v4 dropdown popup background up 9 png 0 re drawable hdpi v4 notification bg low normal 9 png 0 re drawable hdpi v4 notification bg low press 9 png 0 re drawable hdpi v4 notification bg normal 9 png 0 re drawable hdpi v4 notification bg normal press 9 png 0 re drawable hdpi v4 ondemand overlay 9 png 0 re drawable ldrtl hdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl xhdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl xxhdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl xxxhdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable v4 abc ab share pack mtrl alpha 9 png 0 re drawable v4 abc btn switch to on mtrl 00001 9 png 0 re drawable v4 abc btn switch to on mtrl 00012 9 png 0 re drawable v4 abc cab background top mtrl alpha 9 png 0 re drawable v4 abc list divid mtrl alpha 9 png 0 re drawable v4 abc list focus holo 9 png 0 re drawable v4 abc list longpresse holo 9 png 0 re drawable v4 abc list press holo dark 9 png 0 re drawable v4 abc list press holo light 9 png 0 re drawable v4 abc list selector disable holo dark 9 png 0 re drawable v4 abc list selector disable holo light 9 png 0 re drawable v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable v4 abc popup background mtrl mult 9 png 0 re drawable v4 abc scrubber primary mtrl alpha 9 png 0 re drawable v4 abc scrubber track mtrl alpha 9 png 0 re drawable v4 abc spinner mtrl be alpha 9 png 0 re drawable v4 abc switch track mtrl alpha 9 png 0 re drawable v4 abc tab indicator mtrl alpha 9 png 0 re drawable v4 abc textfield activate mtrl alpha 9 png 0 re drawable v4 abc textfield default mtrl alpha 9 png 0 re drawable v4 abc textfield search activate mtrl alpha 9 png 0 re drawable v4 abc textfield search default mtrl alpha 9 png 0 re drawable v4 notification bg low normal 9 png 0 re drawable v4 notification bg low press 9 png 0 re drawable v4 notification bg normal 9 png 0 re drawable v4 notification bg normal press 9 png 0 re drawable xhdpi v4 abc ab share pack mtrl alpha 9 png 0 re drawable xhdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable xhdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable xhdpi v4 abc cab background top mtrl alpha 9 png 0 re drawable xhdpi v4 abc list divid mtrl alpha 9 png 0 re drawable xhdpi v4 abc list focus holo 9 png 0 re drawable xhdpi v4 abc list longpresse holo 9 png 0 re drawable xhdpi v4 abc list press holo dark 9 png 0 re drawable xhdpi v4 abc list press holo light 9 png 0 re drawable xhdpi v4 abc list selector disable holo dark 9 png 0 re drawable xhdpi v4 abc list selector disable holo light 9 png 0 re drawable xhdpi v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable xhdpi v4 abc popup background mtrl mult 9 png 0 re drawable xhdpi v4 abc scrubber primary mtrl alpha 9 png 0 re drawable xhdpi v4 abc scrubber track mtrl alpha 9 png 0 re drawable xhdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable xhdpi v4 abc switch track mtrl alpha 9 png 0 re drawable xhdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield activate mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield default mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield search activate mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield search default mtrl alpha 9 png 0 re drawable xhdpi v4 bubble 9 png 0 re drawable xhdpi v4 dropdown popup background down 9 png 0 re drawable xhdpi v4 dropdown popup background up 9 png 0 re drawable xhdpi v4 notification bg low normal 9 png 0 re drawable xhdpi v4 notification bg low press 9 png 0 re drawable xhdpi v4 notification bg normal 9 png 0 re drawable xhdpi v4 notification bg normal press 9 png 0 re drawable xhdpi v4 ondemand overlay 9 png 0 re drawable xxhdpi v4 abc ab share pack mtrl alpha 9 png 0 re drawable xxhdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable xxhdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable xxhdpi v4 abc cab background top mtrl alpha 9 png 0 re drawable xxhdpi v4 abc list divid mtrl alpha 9 png 0 re drawable xxhdpi v4 abc list focus holo 9 png 0 re drawable xxhdpi v4 abc list longpresse holo 9 png 0 re drawable xxhdpi v4 abc list press holo dark 9 png 0 re drawable xxhdpi v4 abc list press holo light 9 png 0 re drawable xxhdpi v4 abc list selector disable holo dark 9 png 0 re drawable xxhdpi v4 abc list selector disable holo light 9 png 0 re drawable xxhdpi v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable xxhdpi v4 abc popup background mtrl mult 9 png 0 re drawable xxhdpi v4 abc scrubber primary mtrl alpha 9 png 0 re drawable xxhdpi v4 abc scrubber track mtrl alpha 9 png 0 re drawable xxhdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable xxhdpi v4 abc switch track mtrl alpha 9 png 0 re drawable xxhdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield activate mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield default mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield search activate mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield search default mtrl alpha 9 png 0 re drawable xxxhdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable xxxhdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable xxxhdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable xxxhdpi v4 abc switch track mtrl alpha 9 png 0 re drawable xxxhdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable bubble 9 png 0 re drawable dropdown popup background down 9 png 0 re drawable dropdown popup background up 9 png 0 re drawable ondemand overlay 9 png 0 wav 0 arsc I c user luxiaofeng appdata local apktool framework 1 apk s d anti compile webview 57 0 2987 108 re m d anti compile webview 57 0 2987 108 androidmanifest xml step to reproduce 1 apktool d webview apk 2 apktool b webview framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app nope no oem rom apk apk if this apk can be freely share please upload attach a link to it I have try and it seem the version before android system webview 56 0 2924 87 be ok can be build successfully and the version after android system webview 57 0 2987 108 be ng above error question to ask before submission 1 have you try apktool d apktool b without change anything yes this be how to reproduce 2 if you be try to install a modify apk do you resign it doesn t build so can not resign 3 be you use the late apktool version yes other 1 I have see the related issue 1840 1376 1780 1817 but can not fix the problem use apktool empty framework dir force 2 this apk be andorid system webview which be an android system component
ibotpeachesapktool
apktool decode with resource remove move file crash on runtime
Bug
information 1 apktool version apktool version 2 3 4 2 operating system mac linux windows mac 3 apk from playstore rom other playstore stacktrace logcat bin apktool d volume public shaul playstorecityvelocity apk I use apktool 2 3 4 on playstorecityvelocity apk I load resource table I decode androidmanif xml with resource I load resource table from file user gil library apktool framework 1 apk I regular manifest package I decode file resource I decode value xmls I baksmale class dex I baksmale classes2 dex I copy asset and lib I copy unknown file I copy original file bin apktool b playstorecityvelocity o build apk I use apktool 2 3 4 I check whether source have change I smale smali folder into class dex I check whether source have change I smale smali classes2 folder into classes2 dex I check whether resource have change I build resource I copy libs lib I copy libs kotlin I build apk file I copy unknown file dir I build apk step to reproduce 1 apktool d orginal apk 2 apktool b original o apktooled apk 3 compare the unzipped original apk to the unzipped apktooled apk 4 the file r be a png doesn t appear the file re w and re 6 appear under re font apktool dummyval 0x7f030000 and re font apktool dummyval 0x7f030001 5 run the app and load the resource need a username and password to reach the correct screen e androidruntime fatal exception main process com citi icg portal mobile pid 26966 android view inflateexception binary xml file line 10 binary xml file line 10 error inflate class com astuetz pagerslidingtabstrip cause by android view inflateexception binary xml file line 10 error inflate class com astuetz pagerslidingtabstrip cause by java lang reflect invocationtargetexception at java lang reflect constructor newinstance0 native method at java lang reflect constructor newinstance constructor java 334 at android view layoutinflater createview layoutinflater java 647 at android view layoutinflater createviewfromtag layoutinflater java 790 at android view layoutinflater createviewfromtag layoutinflater java 730 at android view layoutinflater rinflate layoutinflater java 863 at android view layoutinflater rinflatechildren layoutinflater java 824 at android view layoutinflater inflate layoutinflater java 515 at android view layoutinflater inflate layoutinflater java 423 at com velocity mobile blotter orderstabbedfragment oncreateview 59 at android support v4 app fragment performcreateview 2346 at android support v4 app fragmentmanagerimpl movetostate 1428 at android support v4 app fragmentmanagerimpl movefragmenttoexpectedstate 1759 at android support v4 app fragmentmanagerimpl movetostate 1827 at android support v4 app backstackrecord executeops 797 at android support v4 app fragmentmanagerimpl executeop 2596 at android support v4 app fragmentmanagerimpl executeopstogether 2383 at android support v4 app fragmentmanagerimpl removeredundantoperationsandexecute 2338 at android support v4 app fragmentmanagerimpl execsingleaction 2215 at android support v4 app backstackrecord commitnowallowingstateloss 649 at android support v4 app fragmentstatepageradapter finishupdate 167 at android support v4 view viewpager populate 1238 at android support v4 view viewpager populate 1086 at android support v4 view viewpager onmeasure 1616 at android view view measure view java 22071 at android view viewgroup measurechildwithmargin viewgroup java 6602 at android widget linearlayout measurechildbeforelayout linearlayout java 1514 at android widget linearlayout measurevertical linearlayout java 806 at android widget linearlayout onmeasure linearlayout java 685 at android view view measure view java 22071 at android view viewgroup measurechildwithmargin viewgroup java 6602 at android widget framelayout onmeasure framelayout java 185 at android view view measure view java 22071 at android widget relativelayout measurechildhorizontal relativelayout java 715 at android widget relativelayout onmeasure relativelayout java 461 at android view view measure view java 22071 at android support v4 widget drawerlayout onmeasure 1059 at android view view measure view java 22071 at android support v4 view viewpager onmeasure 1632 at android view view measure view java 22071 at android view viewgroup measurechildwithmargin viewgroup java 6602 at android widget linearlayout measurechildbeforelayout linearlayout java 1514 at android widget linearlayout measurevertical linearlayout java 806 at android widget linearlayout onmeasure linearlayout java 685 at android view view measure view java 22071 at android view viewgroup measurechildwithmargin viewgroup java 6602 at android widget linearlayout measurechildbeforelayout linearlayout java 1514 at android widget linearlayout measurevertical linearlayout java 806 at android widget linearlayout onmeasure linearlayout java 685 at android view view measure view java 22071 at android view viewgroup measurechildwithmargin viewgroup java 6602 at android widget linearlayout measurechildbeforelayout linearlayout java 1514 at android widget linearlayout measurevertical linearlayout java 806 at android widget linearlayout onmeasure linearlayout java 685 at android view view measure view java 22071 at android widget linearlayout measurevertical linearlayout java 958 at android widget linearlayout onmeasure linearlayout java 685 at android view view measure view java 22071 at android widget linearlayout measurevertical linearlayout java 958 at android widget linearlayout onmeasure linearlayout java 685 at android view view measure view java 22071 at android widget relativelayout measurechildhorizontal relativelayout java 715 at android widget relativelayout onmeasure relativelayout java 461 at android view view measure view java 22071 at android view viewgroup measurechildwithmargin viewgroup java 6602 at android widget framelayout onmeasure framelayout java 185 at android view view measure view java 22071 at android view viewgroup measurechildwithmargin viewgroup java 6602 at android widget linearlayout measurechildbeforelayout linearlayout java 1514 at android widget linearlayout measurevertical linearlayout java 806 at android widget linearlayout onmeasure linearlayout java 685 at android view view measure view java 22071 at android view viewgroup measurechildwithmargin viewgroup java 6602 at android widget framelayout onmeasure framelayout java 185 at com android internal policy decorview onmeasure decorview java 724 at android view view measure view java 22071 at android view viewrootimpl performmeasure viewrootimpl java 2422 at android view viewrootimpl measurehierarchy viewrootimpl java 1504 at android view viewrootimpl performtraversal viewrootimpl java 1761 at android view viewrootimpl dotraversal viewrootimpl java 1392 at android view viewrootimpl traversalrunnable run viewrootimpl java 6752 at android view choreographer callbackrecord run choreographer java 911 at android view choreographer docallback choreographer java 723 at android view choreographer doframe choreographer java 658 at android view choreographer framedisplayeventreceiver run choreographer java 897 at android os handler handlecallback handler java 790 at android os handler dispatchmessage handler java 99 at android os looper loop looper java 164 at android app activitythread main activitythread java 6494 at java lang reflect method invoke native method at com android internal os runtimeinit methodandargscaller run runtimeinit java 438 at com android internal os zygoteinit main zygoteinit java 807 cause by android content re resource notfoundexception font resource i d 0x7f030000 could not be retrieve at o lq z 340 at o lq r 205 at com astuetz pagerslidingtabstrip 172 at com astuetz pagerslidingtabstrip 117 92 more framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it not relevant 3 be you use the late apktool version yes
ibotpeachesapktool
apktool b fail on xml parse error
Bug
information 1 apktool version apktool version 2 3 0 2 operating system mac linux windows mac 3 apk from playstore rom other apkpure stacktrace logcat temp apktool d temp secure mail v10 6 20 18 apkpure com apk o openapk I use apktool 2 3 0 on secure mail v10 6 20 18 apkpure com apk I load resource table I decode androidmanif xml with resource I load resource table from file user gil library apktool framework 1 apk I regular manifest package I decode file resource I decode value xmls I baksmale class dex I baksmale classes2 dex I baksmale classes4 dex I baksmale classes3 dex I copy asset and lib I copy unknown file I copy original file temp apktool b openapk o closedapk apk I use apktool 2 3 0 I check whether source have change I smale smali folder into class dex I check whether source have change I smale smali classes2 folder into classes2 dex I check whether source have change I smale smali classes3 folder into classes3 dex I check whether source have change I smale smali classes4 folder into classes4 dex I check whether resource have change I build resource w temp openapk res value ja strings xml 29 error error parse xml mismatch tag w w temp openapk res value ja sw600dp v13 string xml 12 error error parse xml mismatch tag w w temp openapk res value zh rcn string xml 61 error error parse xml mismatch tag w exception in thread main brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 1 var folder r lfrzsqgn4cxb416ysxq75sqh0000gn t brut util jar 3292698851755085870 tmp p force package i d 127 min sdk version 21 target sdk version 25 version code 25049130 version name 10 6 20 18 no version vector f var folder r lfrzsqgn4cxb416ysxq75sqh0000gn t apktool5998761831848268597 tmp 0 arsc 0 txt 0 arsc I user gil library apktool framework 1 apk s temp openapk res m temp openapk androidmanifest xml at brut androlib androlib buildresourcesfull androlib java 485 at brut androlib androlib buildresource androlib java 419 at brut androlib androlib build androlib java 318 at brut androlib androlib build androlib java 270 at brut apktool main cmdbuild main java 224 at brut apktool main main main java 75 cause by brut androlib androlibexception brut common brutexception could not exec exit code 1 var folder r lfrzsqgn4cxb416ysxq75sqh0000gn t brut util jar 3292698851755085870 tmp p force package i d 127 min sdk version 21 target sdk version 25 version code 25049130 version name 10 6 20 18 no version vector f var folder r lfrzsqgn4cxb416ysxq75sqh0000gn t apktool5998761831848268597 tmp 0 arsc 0 txt 0 arsc I user gil library apktool framework 1 apk s temp openapk res m temp openapk androidmanifest xml at brut androlib re androlibresource aaptpackage androlibresource java 454 at brut androlib androlib buildresourcesfull androlib java 471 5 more cause by brut common brutexception could not exec exit code 1 var folder r lfrzsqgn4cxb416ysxq75sqh0000gn t brut util jar 3292698851755085870 tmp p force package i d 127 min sdk version 21 target sdk version 25 version code 25049130 version name 10 6 20 18 no version vector f var folder r lfrzsqgn4cxb416ysxq75sqh0000gn t apktool5998761831848268597 tmp 0 arsc 0 txt 0 arsc I user gil library apktool framework 1 apk s temp openapk res m temp openapk androidmanifest xml at brut util os exec os java 95 at brut androlib re androlibresource aaptpackage androlibresource java 448 6 more step to reproduce 1 apktool d 1 apktool b framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk if this apk can be freely share please upload attach a link to it or question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it not relevant 3 be you use the late apktool version yes
ibotpeachesapktool
no resource find that match the give name decompiling recompile
Bug
I decompile whoscall6 2 apk then recompile it again without any change deompile h s java jar apktool 2 3 0 jar d f h s whoscall apk o whoscall I use apktool 2 3 0 on whoscall apk I load resource table I decode androidmanif xml with resource I load resource table from file c user user appdata local apktool framework 1 apk I regular manifest package I decode file resource I decode value xmls I baksmale class dex I baksmale classes2 dex I copy asset and lib I copy unknown file I copy original file recompile h s java jar apktool 2 3 0 jar b whoscall o whoscallfine apk I use apktool 2 3 0 I check whether source have change I smale smali folder into class dex I check whether source have change I smale smali classes2 folder into classes2 dex I check whether resource have change I build resource w h s whoscall res layout lr xml 14 error error no resource find that match the give name at style with value style font textsize t3 w w h s whoscall res layout lr xml 17 error error no resource find that match the give name at layout with value layout view item portal place item w w h s whoscall res layout ls xml 2 error no resource identifier find for attribute cardbackgroundcolor in package gogolook callgogolook2 w w h s whoscall res layout ls xml 2 error no resource identifier find for attribute cardcornerradius in package gogolook callgogolook2 w w h s whoscall res layout ls xml 2 error no resource identifier find for attribute cardusecompatpadding in package gogolook callgogolook2 w w h s whoscall res layout ls xml 2 error no resource identifier find for attribute cardpreventcorneroverlap in package gogolook callgogolook2 w w h s whoscall res layout ls xml 8 error error no resource find that match the give name at style with value style font textsize t1 w w h s whoscall res layout ls xml 9 error error no resource find that match the give name at style with value style font textsize t3 w w h s whoscall res layout lt xml 24 error no resource identifier find for attribute image src in package gogolook callgogolook2 w w h s whoscall res layout lt xml 24 error no resource identifier find for attribute text in package gogolook callgogolook2 w w h s whoscall res layout lt xml 25 error no resource identifier find for attribute image src in package gogolook callgogolook2 w w h s whoscall res layout lt xml 25 error no resource identifier find for attribute text in package gogolook callgogolook2 w w h s whoscall res layout lt xml 26 error no resource identifier find for attribute image src in package gogolook callgogolook2 w w h s whoscall res layout lt xml 26 error no resource identifier find for attribute text in package gogolook callgogolook2 w w h s whoscall res layout lt xml 29 error no resource identifier find for attribute image src in package gogolook callgogolook2 w w h s whoscall res layout lt xml 29 error no resource identifier find for attribute text in package gogolook callgogolook2 w w h s whoscall res layout lt xml 30 error no resource identifier find for attribute image src in package gogolook callgogolook2 w w h s whoscall res layout lt xml 30 error no resource identifier find for attribute text in package gogolook callgogolook2 w w h s whoscall res layout lt xml 36 error error no resource find that match the give name at layout with value layout dialpad view w w h s whoscall res layout lu xml 5 error error no resource find that match the give name at style with value style audiochooser icon w w h s whoscall res layout lu xml 6 error error no resource find that match the give name at style with value style audiochooser text w w h s whoscall res layout lu xml 9 error error no resource find that match the give name at style with value style audiochooser icon w w h s whoscall res layout lu xml 10 error error no resource find that match the give name at style with value style audiochooser text w w h s whoscall res layout lu xml 13 error error no resource find that match the give name at style with value style audiochooser icon w w h s whoscall res layout lu xml 14 error error no resource find that match the give name at style with value style audiochooser text w w h s whoscall res layout lu xml 17 error error no resource find that match the give name at style with value style audiochooser icon w w h s whoscall res layout lu xml 18 error error no resource find that match the give name at style with value style audiochooser text w w h s whoscall res layout lv xml 5 error error no resource find that match the give name at style with value style customprogressbar w w h s whoscall res layout lw xml 5 error error no resource find that match the give name at layout with value layout widget small header w w h s whoscall res layout m xml 5 error error no resource find that match the give name at layout with value layout abc screen content include w w h s whoscall res layout v17 m xml 5 error error no resource find that match the give name at layout with value layout abc screen content include w w h s whoscall res layout m2 xml 7 error error no resource find that match the give name at layout with value layout yellow page tab w w h s whoscall re layout m8 xml 5 error error no resource find that match the give name at layout with value layout common horizontal divider view w w h s whoscall re layout m8 xml 7 error error no resource find that match the give name at layout with value layout common horizontal divider view w w h s whoscall re layout m8 xml 12 error error no resource find that match the give name at layout with value layout common horizontal divider view w w h s whoscall re layout m8 xml 17 error error no resource find that match the give name at layout with value layout common horizontal divider view w w h s whoscall re layout m8 xml 22 error error no resource find that match the give name at layout with value layout common horizontal divider view w w h s whoscall re layout m9 xml 33 error error no resource find that match the give name at layout with value layout yellow page tab w w h s whoscall re layout v16 m9 xml 33 error error no resource find that match the give name at layout with value layout yellow page tab w w h s whoscall res layout v11 mc xml 4 error error no resource find that match the give name at layout with value layout notification template icon group w w h s whoscall res layout v11 mc xml 5 error error no resource find that match the give name at layout with value layout notification medium cancel action w w h s whoscall res layout v11 mc xml 6 error error no resource find that match the give name at layout with value layout notification template line medium w w h s whoscall re layout v17 mc xml 4 error error no resource find that match the give name at layout with value layout notification template icon group w w h s whoscall re layout v17 mc xml 5 error error no resource find that match the give name at layout with value layout notification medium cancel action w w h s whoscall re layout v17 mc xml 6 error error no resource find that match the give name at layout with value layout notification template line medium w w h s whoscall res layout v11 md xml 4 error error no resource find that match the give name at layout with value layout notification template icon group w w h s whoscall res layout v11 md xml 5 error error no resource find that match the give name at layout with value layout notification medium cancel action w w h s whoscall res layout v17 md xml 4 error error no resource find that match the give name at layout with value layout notification template icon group w w h s whoscall res layout v17 md xml 5 error error no resource find that match the give name at layout with value layout notification medium cancel action w w h s whoscall res layout v11 I xml 5 error error no resource find that match the give name at layout with value layout notification medium cancel action w w h s whoscall res layout v11 I xml 6 error error no resource find that match the give name at layout with value layout notification template line medium w w h s whoscall res layout v17 I xml 5 error error no resource find that match the give name at layout with value layout notification medium cancel action w w h s whoscall res layout v17 I xml 6 error error no resource find that match the give name at layout with value layout notification template line medium w w h s whoscall res layout v11 mf xml 5 error error no resource find that match the give name at layout with value layout notification medium cancel action w w h s whoscall re layout v17 mf xml 5 error error no resource find that match the give name at layout with value layout notification medium cancel action w w h s whoscall re layout t xml 2 error error no resource find that match the give name at style with value style rtloverlay widget appcompat popupmenuitem w w h s whoscall re layout t xml 4 error error no resource find that match the give name at style with value style rtloverlay widget appcompat popupmenuitem internalgroup w w h s whoscall re layout t xml 5 error error no resource find that match the give name at style with value style rtloverlay widget appcompat popupmenuitem text w w h s whoscall re layout t xml 6 error error no resource find that match the give name at style with value style rtloverlay widget appcompat popupmenuitem text w w h s whoscall res layout v17 t xml 2 error error no resource find that match the give name at style with value style rtloverlay widget appcompat popupmenuitem w w h s whoscall res layout v17 t xml 4 error error no resource find that match the give name at style with value style rtloverlay widget appcompat popupmenuitem internalgr oup w w h s whoscall res layout v17 t xml 5 error error no resource find that match the give name at style with value style rtloverlay widget appcompat popupmenuitem text w w h s whoscall res layout v17 t xml 6 error error no resource find that match the give name at style with value style rtloverlay widget appcompat popupmenuitem text w w h s whoscall re layout v xml 5 error error no resource find that match the give name at layout with value layout abc screen content include w w h s whoscall res layout w xml 4 error error no resource find that match the give name at layout with value layout abc screen content include w w h s whoscall res layout x xml 6 error no resource identifier find for attribute navigationcontentdescription in package gogolook callgogolook2 w w h s whoscall res layout x xml 4 error error no resource find that match the give name at layout with value layout abc screen content include w w h s whoscall res layout x xml 5 error error no resource find that match the give name at style with value attr actionbarstyle w w h s whoscall res layout x xml 6 error error no resource find that match the give name at style with value attr toolbarstyle w w h s whoscall res layout x xml 7 error error no resource find that match the give name at style with value attr actionmodestyle w w h s whoscall re layout v21 x xml 6 error no resource identifier find for attribute navigationcontentdescription in package gogolook callgogolook2 w w h s whoscall re layout v21 x xml 4 error error no resource find that match the give name at layout with value layout abc screen content include w w h s whoscall re layout v21 x xml 5 error error no resource find that match the give name at style with value attr actionbarstyle w w h s whoscall re layout v21 x xml 6 error error no resource find that match the give name at style with value attr toolbarstyle w w h s whoscall re layout v21 x xml 7 error error no resource find that match the give name at style with value attr actionmodestyle w w h s whoscall res layout y xml 2 error error no resource find that match the give name at style with value style rtloverlay widget appcompat search dropdown w w h s whoscall res layout y xml 4 error error no resource find that match the give name at style with value style rtloverlay widget appcompat search dropdown icon1 w w h s whoscall res layout y xml 5 error error no resource find that match the give name at style with value style rtloverlay widget appcompat search dropdown query w w h s whoscall res layout y xml 6 error error no resource find that match the give name at style with value style rtloverlay widget appcompat search dropdown icon2 w w h s whoscall res layout z xml 5 error error no resource find that match the give name at style with value attr actionbuttonstyle w w h s whoscall res layout z xml 7 error error no resource find that match the give name at style with value style rtloverlay widget appcompat searchview magicon w w h s whoscall re layout v17 z xml 5 error error no resource find that match the give name at style with value attr actionbuttonstyle w w h s whoscall re layout v17 z xml 7 error error no resource find that match the give name at style with value style rtloverlay widget appcompat searchview magicon w w h s whoscall res animator v21 a xml 4 error no resource identifier find for attribute state collapse in package gogolook callgogolook2 w w h s whoscall res animator v21 a xml 4 error no resource identifier find for attribute state collapsible in package gogolook callgogolook2 w w h s whoscall res xml d xml 2 error error no resource find that match the give name at label with value string samsung edge title w w h s whoscall res xml d xml 2 error error no resource find that match the give name at description with value string samsung edge description w w h s whoscall res xml d xml 2 error error no resource find that match the give name at previewimage with value drawable bg preview w w h s whoscall res color ep xml 4 error no resource identifier find for attribute alpha in package gogolook callgogolook2 w w h s whoscall re color eq xml 4 error no resource identifier find for attribute alpha in package gogolook callgogolook2 w w h s whoscall re color f0 xml 4 error no resource identifier find for attribute alpha in package gogolook callgogolook2 exception in thread main w brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 1 c user icka appdata local temp brut util jar 36188171940 43395432 tmp p force package i d 127 min sdk version 15 target sdk version 23 version code 60200662 version name 6 2 no version vector f c user icka appda ta local temp apktool806700380592643484 tmp 0 arsc 0 arsc I c user icka appdata local apktool framework 1 apk s h s whoscall re m h s whoscall androidmanifest xml at brut androlib androlib buildresourcesfull androlib java 485 at brut androlib androlib buildresource androlib java 419 at brut androlib androlib build androlib java 318 at brut androlib androlib build androlib java 270 at brut apktool main cmdbuild main java 224 at brut apktool main main main java 75 cause by brut androlib androlibexception brut common brutexception could not exec exit code 1 c user icka appdata local temp brut util jar 3618817194043395432 tmp p for ced package i d 127 min sdk version 15 target sdk version 23 version code 60200662 version name 6 2 no version vector f c user icka appdata local temp apktool8 06700380592643484 tmp 0 arsc 0 arsc I c user icka appdata local apktool framework 1 apk s h s whoscall re m h s whoscall androidmanifest xml at brut androlib re androlibresource aaptpackage androlibresource java 454 at brut androlib androlib buildresourcesfull androlib java 471 5 more cause by brut common brutexception could not exec exit code 1 c user icka appdata local temp brut util jar 3618817194043395432 tmp p force package i d 127 min sdk ve rsion 15 target sdk version 23 version code 60200662 version name 6 2 no version vector f c user icka appdata local temp apktool806700380592643484 tmp 0 arsc 0 arsc I c user icka appdata local apktool framework 1 apk s h s whoscall re m h s whoscall androidmanifest xml at brut util os exec os java 95 at brut androlib re androlibresource aaptpackage androlibresource java 448 6 more w h s whoscall re color f1 xml 4 error no resource identifier find for attribute alpha in package gogolook callgogolook2 w w h s whoscall res color f2 xml 4 error no resource identifier find for attribute alpha in package gogolook callgogolook2 w information 1 apktool version apktool version 2 3 0 2 operating system mac linux window window 3 apk from playstore rom other playstore stacktrace logcat include stacktrace here step to reproduce 1 apktool framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it 3 be you use the late apktool version yes
ibotpeachesapktool
exception while decode png with out of bound nptc chunk value
Bug
apktool crash when the nptc chunk 52 in a png image resource have xdiv ydivs which be out of bound this be because the underlie bufferedimage setrgb throw an exception indicate that the coordinate be out of bound it be the resource re drawable nodpi abs shadow holo new 9 png in the link apk that be cause problem its png header dimension be 10x51 pixel and the nptc chunk have two xdiv with value 12 and 13 and two ydivs with value 31 and 32 maybe this be simply the res9patchstreamdecoder l147 need to handle out of bound value note that as I read the android source 166 it really do look like this l69 ought to be drawhline im2 0 xdiv I xdiv I 1 1 and maybe it influence the bug I m report I m unable to contribute a patch since I don t fully understand when and how res9patchstreamdecoder drawhline be suppose to be call and why the same bug be likely there for ydivs and res9patchstreamdecoder drawvline as well I hope this information help you in track down the bug information 1 apktool version apktool version 2 2 5 0a1670 snapshot 2 operating system mac linux windows linux 3 apk from playstore rom other originally at playstore stacktrace logcat exception in thread main java lang arrayindexoutofboundsexception coordinate out of bound at sun awt image integerinterleavedraster setdataelement integerinterleavedraster java 301 at java awt image bufferedimage setrgb bufferedimage java 1016 at brut androlib re decoder res9patchstreamdecoder drawhline res9patchstreamdecoder java 149 at brut androlib re decoder res9patchstreamdecoder decode res9patchstreamdecoder java 69 at brut androlib re decoder resstreamdecodercontainer decode resstreamdecodercontainer java 33 at brut androlib re decoder resfiledecoder decode resfiledecoder java 120 at brut androlib re decoder resfiledecoder decode resfiledecoder java 87 at brut androlib re androlibresource decode androlibresource java 263 at brut androlib androlib decoderesourcesfull androlib java 132 at brut androlib apkdecoder decode apkdecoder java 115 at brut apktool main cmddecode main java 166 at brut apktool main main main java 80 step to reproduce 1 apktool f v d com zeropc tablet 44 apk framework n a apk can be download from archive org note that the late version of the apk do not exhibit the same error question to ask before submission 1 have you try apktool d apktool b without change anything yes apktool d com zeropc tablet 44 apk on a pristine apk file give the same stacktrace 2 if you be try to install a modify apk do you resign it no 3 be you use the late apktool version yes I m use commit 0a16705430b52fd9a6f1d00ec1a3e60b3fbfe604
ibotpeachesapktool
instant app error decode build
Bug
information 1 apktool version apktool version 2 2 3 2 2 4 fce273 snapshot 2 operating system mac linux windows mac 3 apk from playstore rom other instant app tutorial link 0 stacktrace logcat java jar apktool cli all jar d topekaui debug apk o topekaui I use apktool 2 2 4 fce273 snapshot on topekaui debug apk I load resource table I decode androidmanif xml with resource I load resource table from file user xxx library apktool framework 1 apk w could not decode attr value use undecoded value instead n android name theme value 0x7f100131 w could not decode attr value use undecoded value instead n android name label value 0x7f0f0020 w could not decode attr value use undecoded value instead n android name icon value 0x7f0d0000 w could not decode attr value use undecoded value instead n android name theme value 0x7f10013e w could not decode attr value use undecoded value instead n android name theme value 0x7f100135 w could not decode attr value use undecoded value instead n android name theme value 0x7f10013c I regular manifest package I decode file resource I decode value xmls I baksmale class dex I copy asset and lib I copy unknown file I copy original file java jar apktool cli all jar b topekaui o topekaui apk I use apktool 2 2 4 fce273 snapshot I check whether source have change I smale smali folder into class dex I check whether resource have change I build resource w user xxx document yyy instant app example android topeka topeka instantapp build outputs apk debug topekaui androidmanif xml 2 error error no resource type specify at icon with value 2131558400 w w user xxx document yyy instant app example android topeka topeka instantapp build outputs apk debug topekaui androidmanif xml 2 error error no resource type specify at label with value 2131689504 w w user xxx document yyy instant app example android topeka topeka instantapp build outputs apk debug topekaui androidmanif xml 2 error error no resource type specify at theme with value 2131755313 w w user xxx document yyy instant app example android topeka topeka instantapp build outputs apk debug topekaui androidmanifest xml 3 error error no resource type specify at theme with value 2131755326 w w user xxx document yyy instant app example android topeka topeka instantapp build outputs apk debug topekaui androidmanifest xml 21 error error no resource type specify at theme with value 2131755317 w w user xxx document yyy instant app example android topeka topeka instantapp build outputs apk debug topekaui androidmanifest xml 35 error error no resource type specify at theme with value 2131755324 w exception in thread main brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 1 var folder 3x 2mzylqgd02z6zrs5hdr5t1yh0000gn t brut util jar 733533200233791872 tmp p force package i d 128 min sdk version 19 target sdk version 26 version code 1 version name 1 0 no version vector f var folder 3x 2mzylqgd02z6zrs5hdr5t1yh0000gn t apktool1966701960726429425 tmp x 0 arsc 0 arsc I user xxx library apktool framework 1 apk s user xxx document yyy instant app example android topeka topeka instantapp build outputs apk debug topekaui re m user xxx document yyy instant app example android topeka topeka instantapp build outputs apk debug topekaui androidmanif xml at brut androlib androlib buildresourcesfull androlib java 496 at brut androlib androlib buildresource androlib java 430 at brut androlib androlib build androlib java 329 at brut androlib androlib build androlib java 267 at brut apktool main cmdbuild main java 231 at brut apktool main main main java 84 cause by brut androlib androlibexception brut common brutexception could not exec exit code 1 var folder 3x 2mzylqgd02z6zrs5hdr5t1yh0000gn t brut util jar 733533200233791872 tmp p force package i d 128 min sdk version 19 target sdk version 26 version code 1 version name 1 0 no version vector f var folder 3x 2mzylqgd02z6zrs5hdr5t1yh0000gn t apktool1966701960726429425 tmp x 0 arsc 0 arsc I user xxx library apktool framework 1 apk s user xxx document yyy instant app example android topeka topeka instantapp build outputs apk debug topekaui re m user xxx document yyy instant app example android topeka topeka instantapp build outputs apk debug topekaui androidmanif xml at brut androlib re androlibresource aaptpackage androlibresource java 441 at brut androlib androlib buildresourcesfull androlib java 482 5 more cause by brut common brutexception could not exec exit code 1 var folder 3x 2mzylqgd02z6zrs5hdr5t1yh0000gn t brut util jar 733533200233791872 tmp p force package i d 128 min sdk version 19 target sdk version 26 version code 1 version name 1 0 no version vector f var folder 3x 2mzylqgd02z6zrs5hdr5t1yh0000gn t apktool1966701960726429425 tmp x 0 arsc 0 arsc I user xxx library apktool framework 1 apk s user xxx document yyy instant app example android topeka topeka instantapp build outputs apk debug topekaui re m user xxx document yyy instant app example android topeka topeka instantapp build outputs apk debug topekaui androidmanif xml at brut util os exec os java 95 at brut androlib re androlibresource aaptpackage androlibresource java 435 6 more step to reproduce 1 java jar apktool cli all jar d topekaui debug apk o topekaui 2 java jar apktool cli all jar b topekaui o topekaui apk apk topeka instantapp debug zip
ibotpeachesapktool
window mapping between unknown char valid char
Bug
information 1 apktool version apktool version 2 2 2 2 operating system mac linux window window 3 apk from playstore rom other url stacktrace logcat apktool d g mangarock apk keep break re f I use apktool 2 2 2 on mangarock apk I load resource table w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f070000 w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f070001 w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f070002 w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f070003 w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f070004 w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f070005 w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f070006 w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f070007 w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f070008 w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f070009 w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f07000a w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f07000b w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f07000c w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f07000d w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f07000e w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f07000f w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f070010 w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f070011 w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f070012 w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f07003d w duplicate resource detect ignore duplicate string sr apktool dummyval 0x7f07003e I decode androidmanif xml with resource I load resource table from file appdata local apktool framework 1 apk I regular manifest package I decode file resource I decode value xmls I baksmale class dex I baksmale classes2 dex I copy asset and lib I copy unknown file exception in thread main brut androlib androlibexception brut directory directoryexception error copying file xml at brut androlib androlib decodeunknownfiles androlib java 217 at brut androlib apkdecoder decode apkdecoder java 158 at brut apktool main cmddecode main java 166 at brut apktool main main main java 81 cause by brut directory directoryexception error copying file xml at brut directory dirutil copytodir dirutil java 88 at brut directory abstractdirectory copytodir abstractdirectory java 207 at brut androlib androlib decodeunknownfiles androlib java 210 3 more cause by java io filenotfoundexception mangarock unknown xml the filename directory name or volume label syntax be incorrect at java io fileoutputstream open native method at java io fileoutputstream unknown source at java io fileoutputstream unknown source at brut directory dirutil copytodir dirutil java 84 5 more step to reproduce 1 apktool d g mangarock apk keep break re f apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it n a 3 be you use the late apktool version yes
ibotpeachesapktool
use apktool 2 2 2 rebuild unmodified weixin6 3 7 apk find error no resource identifier find for attribute in package com tencent mm however v2 0 3 be ok
Bug
information 1 apktool version 2 2 2 2 operating system mac 3 apk from stacktrace logcat below be use 2 2 2 version to rebuild unmodified weixin6 3 7 w user yanzi work d apk weixin2 weixin637 res xml z xml 5 error no resource identifier find for attribute key in package com tencent mm w w user yanzi work d apk weixin2 weixin637 res xml z xml 5 error no resource identifier find for attribute layout in package com tencent mm w w user yanzi work d apk weixin2 weixin637 res xml z xml 6 error no resource identifier find for attribute persistent in package com tencent mm w w user yanzi work d apk weixin2 weixin637 res xml z xml 6 error no resource identifier find for attribute title in package com tencent mm w w user yanzi work d apk weixin2 weixin637 res xml z xml 6 error no resource identifier find for attribute key in package com tencent mm w w user yanzi work d apk weixin2 weixin637 res xml z xml 6 error no resource identifier find for attribute layout in package com tencent mm w w user yanzi work d apk weixin2 weixin637 res xml z xml 7 error no resource identifier find for attribute title in package com tencent mm w w user yanzi work d apk weixin2 weixin637 res xml z xml 7 error no resource identifier find for attribute key in package com tencent mm w w user yanzi work d apk weixin2 weixin637 res xml z xml 7 error no resource identifier find for attribute layout in package com tencent mm w w user yanzi work d apk weixin2 weixin637 res xml z xml 9 error no resource identifier find for attribute title in package com tencent mm w w user yanzi work d apk weixin2 weixin637 res xml z xml 9 error no resource identifier find for attribute key in package com tencent mm w w user yanzi work d apk weixin2 weixin637 res xml z xml 9 error no resource identifier find for attribute layout in package com tencent mm w w user yanzi work d apk weixin2 weixin637 res xml z xml 10 error no resource identifier find for attribute title in package com tencent mm w w user yanzi work d apk weixin2 weixin637 res xml z xml 10 error no resource identifier find for attribute key in package com tencent mm w w user yanzi work d apk weixin2 weixin637 res xml z xml 10 error no resource identifier find for attribute layout in package com tencent mm w exception in thread main brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 1 var folder 5 kf4fq49x0795vwcnlxblvkpr0000gn t brut util jar 5322325296887264747 tmp p force package i d 127 min sdk version 15 target sdk version 23 version code 861 version name 6 3 25 no version vector f var folder 5 kf4fq49x0795vwcnlxblvkpr0000gn t apktool3485422076297709042 tmp 0 arsc 0 zip 0 sec 0 conf 0 dat 0 asset emojicompactfile 0 datum 0 svg 0 apk 0 arsc I user yanzi library apktool framework 1 apk s user yanzi work d apk weixin2 weixin637 re m user yanzi work d apk weixin2 weixin637 androidmanif xml at brut androlib androlib buildresourcesfull androlib java 477 at brut androlib androlib buildresource androlib java 411 at brut androlib androlib build androlib java 310 at brut androlib androlib build androlib java 263 at brut apktool main cmdbuild main java 227 at brut apktool main main main java 84 cause by brut androlib androlibexception brut common brutexception could not exec exit code 1 var folder 5 kf4fq49x0795vwcnlxblvkpr0000gn t brut util jar 5322325296887264747 tmp p force package i d 127 min sdk version 15 target sdk version 23 version code 861 version name 6 3 25 no version vector f var folder 5 kf4fq49x0795vwcnlxblvkpr0000gn t apktool3485422076297709042 tmp 0 arsc 0 zip 0 sec 0 conf 0 dat 0 asset emojicompactfile 0 datum 0 svg 0 apk 0 arsc I user yanzi library apktool framework 1 apk s user yanzi work d apk weixin2 weixin637 re m user yanzi work d apk weixin2 weixin637 androidmanif xml at brut androlib re androlibresource aaptpackage androlibresource java 440 at brut androlib androlib buildresourcesfull androlib java 463 5 more cause by brut common brutexception could not exec exit code 1 var folder 5 kf4fq49x0795vwcnlxblvkpr0000gn t brut util jar 5322325296887264747 tmp p force package i d 127 min sdk version 15 target sdk version 23 version code 861 version name 6 3 25 no version vector f var folder 5 kf4fq49x0795vwcnlxblvkpr0000gn t apktool3485422076297709042 tmp 0 arsc 0 zip 0 sec 0 conf 0 dat 0 asset emojicompactfile 0 datum 0 svg 0 apk 0 arsc I user yanzi library apktool framework 1 apk s user yanzi work d apk weixin2 weixin637 re m user yanzi work d apk weixin2 weixin637 androidmanif xml at brut util os exec os java 95 at brut androlib re androlibresource aaptpackage androlibresource java 434 6 more below be use apktool 2 0 3 log user yanzi work d apk weixin2 weixin637 re value drawable xml 165 error invalid symbol do user yanzi work d apk weixin2 weixin637 re value drawable xml 358 error invalid symbol if user yanzi work d apk weixin2 weixin637 re value layout xml 165 error invalid symbol do user yanzi work d apk weixin2 weixin637 re value layout xml 341 error invalid symbol if user yanzi work d apk weixin2 weixin637 re value string xml 170 error invalid symbol do user yanzi work d apk weixin2 weixin637 re value string xml 352 error invalid symbol if user yanzi work d apk weixin2 weixin637 re value dimen xml 165 error invalid symbol do user yanzi work d apk weixin2 weixin637 re value dimen xml 341 error invalid symbol if user yanzi work d apk weixin2 weixin637 re value style xml 791 error invalid symbol do user yanzi work d apk weixin2 weixin637 re value style xml 2168 error invalid symbol if user yanzi work d apk weixin2 weixin637 re value color xml 165 error invalid symbol do user yanzi work d apk weixin2 weixin637 re value color xml 341 error invalid symbol if user yanzi work d apk weixin2 weixin637 re value ids xml 75 error invalid symbol do user yanzi work d apk weixin2 weixin637 re value ids xml 251 error invalid symbol if exception in thread main brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec command var folder 5 kf4fq49x0795vwcnlxblvkpr0000gn t brut util jar 4887173892981919240 tmp p force package i d 127 min sdk version 15 target sdk version 23 version code 861 version name 6 3 25 f var folder 5 kf4fq49x0795vwcnlxblvkpr0000gn t apktool8826980659801902946 tmp 0 arsc 0 zip 0 sec 0 conf 0 dat 0 0 datum 0 arsc I user yanzi library apktool framework 1 apk s user yanzi work d apk weixin2 weixin637 re m user yanzi work d apk weixin2 weixin637 androidmanif xml at brut androlib androlib buildresourcesfull androlib java 472 at brut androlib androlib buildresource androlib java 410 at brut androlib androlib build androlib java 298 at brut androlib androlib build androlib java 268 at brut apktool main cmdbuild main java 225 at brut apktool main main main java 84 cause by brut androlib androlibexception brut common brutexception could not exec command var folder 5 kf4fq49x0795vwcnlxblvkpr0000gn t brut util jar 4887173892981919240 tmp p force package i d 127 min sdk version 15 target sdk version 23 version code 861 version name 6 3 25 f var folder 5 kf4fq49x0795vwcnlxblvkpr0000gn t apktool8826980659801902946 tmp 0 arsc 0 zip 0 sec 0 conf 0 dat 0 0 datum 0 arsc I user yanzi library apktool framework 1 apk s user yanzi work d apk weixin2 weixin637 re m user yanzi work d apk weixin2 weixin637 androidmanif xml at brut androlib re androlibresource aaptpackage androlibresource java 425 at brut androlib androlib buildresourcesfull androlib java 458 5 more cause by brut common brutexception could not exec command var folder 5 kf4fq49x0795vwcnlxblvkpr0000gn t brut util jar 4887173892981919240 tmp p force package i d 127 min sdk version 15 target sdk version 23 version code 861 version name 6 3 25 f var folder 5 kf4fq49x0795vwcnlxblvkpr0000gn t apktool8826980659801902946 tmp 0 arsc 0 zip 0 sec 0 conf 0 dat 0 0 datum 0 arsc I user yanzi library apktool framework 1 apk s user yanzi work d apk weixin2 weixin637 re m user yanzi work d apk weixin2 weixin637 androidmanif xml at brut util os exec os java 89 at brut androlib re androlibresource aaptpackage androlibresource java 419 6 more you can find some do and if error use se replace and then rebuild be ok step to reproduce 1 apktool d weixin637 apk 2 apktool b weixin637 apk if this apk can be freely share please upload attach a link to it weixin6 3 7 question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it I didn t get to this step 3 be you use the late apktool version yes hello I use apktool late version 2 2 2 to decompile weixin6 3 7 apk nothing change and then rebuild find so much no resource identifier find for attribute in package com tencent mm error however use apktool 2 0 3 there be no such error after fix do and if error and then rebuild be ok I have test from 2 1 1 version later it will encounter no resource identifier find for attribute in package error which make I believe 2 0 3 version be perfect on mac however when I test on windows7 I find 2 1 1 be the last ok version for weixin6 3 7 apk on window so it make I very depressed different with 1421 the attribute be definite by package com tencent mm not android standard package thank for your help
ibotpeachesapktool
error parse xml not well form invalid token
Bug
information 1 apktool version 2 2 1 2 operating system both linux and windows 3 apk from playstore step to reproduce 1 download apk from 2 decompile apk use apktool d music apk o output you will notice non ascii character in decompile file both smali and xml file which probably the reason recompile fail 3 try to recompile the output use apktool b output it would fail leave the follow error I use apktool 2 2 1 I check whether source have change I smale smali folder into class dex I check whether resource have change I build resource w output re layout abc action mode bar xml 2 error error parse xml not well form invalid token w w output re layout abc action mode close item material xml 2 error no resource identifier find for attribute srccompat in package android w w output re layout abc dialog title material xml 2 error error parse xml not well form invalid token w w output re layout v17 abc dialog title material xml 2 error error parse xml not well form invalid token w w output re layout abc screen simple xml 2 error error parse xml not well form invalid token w w output re layout abc screen simple overlay action mode xml 5 error error parse xml not well form invalid token w w output re layout abc screen toolbar xml 2 error error parse xml not well form invalid token w w output re layout v21 abc screen toolbar xml 2 error error parse xml not well form invalid token w w output re layout com facebook device auth dialog fragment xml 8 error error parse xml not well form invalid token w w output re layout v16 com facebook device auth dialog fragment xml 8 error error parse xml not well form invalid token w w output re layout v17 com facebook device auth dialog fragment xml 8 error error parse xml not well form invalid token w w output re layout com facebook smart device dialog fragment xml 8 error error parse xml not well form invalid token w w output re layout v16 com facebook smart device dialog fragment xml 8 error error parse xml not well form invalid token w w output re layout v17 com facebook smart device dialog fragment xml 8 error error parse xml not well form invalid token w w output re layout design bottom navigation item xml 5 error error parse xml not well form invalid token w w output re layout design bottom sheet dialog xml 5 error no resource identifier find for attribute layout behavior in package android w w output re layout v16 design bottom sheet dialog xml 5 error no resource identifier find for attribute layout behavior in package android w w output re layout design text input password icon xml 2 error error parse xml not well form invalid token w apk musixmatch lyric question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it no 3 be you use the late apktool version yes
ibotpeachesapktool
decompile string xml be invalid
Bug
use apktool 2 0 3 decompile com google android app doc editor slide version 60521040 in the output directory re value string xml contain the following in line 808 on 1 s this be invalid xml and the expect result be either on g example my device nexus 4 foo bar i d document info panel path 1 s g or on 1 s now this may be similar to issue 859 but this apk be come from google themselves which make I doubtful that it s an issue of non standard coding and mention in that issue note that this issue exist throughout the file and be inconsistent 1 line 914 tap available offline in a file s menu so you can keep work on it offline escape quote vs unescape quote 2 line 1369 search s no escaping except around xml element 3 line 2420 by a href 2 s 1 s a wat it s all very strange and I d love to hear what you think thank for take the time and for the great tool 1
ibotpeachesapktool
bug duplicate entry stamp cert sha256 when rebuild
Bug
information 1 apktool version apktool version 2 9 3 2 operating system mac linux window window 10 3 apk from playstore rom other playstore via qooapp 4 java version java version 11 0 21 2023 10 17 lts stacktrace logcat command prompt output c android3 java jar apktool jar d r s base apk orig I use apktool 2 9 3 on base apk orig I copy raw resource I copy raw manifest I copy raw class dex file I copy asset and lib I copy unknown file I copy original file c android3 java jar apktool jar b c o base mod apk base apk orig out I use apktool 2 9 3 I copy base apk orig out class dex file I check whether resource have change I copy raw resource I copy libs lib I copy libs kotlin I copy original file I copy androidmanifest xml I copy stamp cert sha256 I copy meta inf I build apk file I copy unknown file dir java util zip zipexception duplicate entry stamp cert sha256 step to reproduce 1 extract apk with apktool java jar apktool jar d r s base apk r and s param optional 2 rebuild apk java jar apktool jar b c o base mod apk base c param optional framework n a apk apk mega link q3cnk n4uqoakrcau5agrd6ajpbaqfua eh5wzfhets question to ask before submission 1 have you try apktool d apktool b without change anything y 3 if you be try to install a modify apk do you resign it n a could not get that fair manage to get a build do not resign and installation be refuse by nonroot 4 be you use the late apktool version y other info stamp cert sha256 appear to be extract twice once into the original folder and once into the unknown folder rebuild with the file remove from either cause the rebuilt apk not to install remove from the unknown folder require modification of the generate apktool yml remove stamp cert sha256 from the unknownfile list
ibotpeachesapktool
bug some android 14 qpr2 apks not support
Bug
it look like android 14 qpr2 release yesterday change the way apks be compile apktool be unable to decode the resource arsc file information 1 apktool version apktool version 2 9 0 also test with a manually build snapshot base on 44416481 2 operating system mac linux windows mac 3 apk from playstore rom other system app pull from device 4 java version java version java 17 0 8 2023 07 18 lts stacktrace first error I use apktool 2 9 0 on example apk I load resource table exception in thread main brut androlib exception androlibexception could not decode arsc file at brut androlib re decoder arscdecoder decode arscdecoder java 49 at brut androlib re data restable loadrespackagesfromapk restable java 182 at brut androlib re datum restable loadmainpkg restable java 134 at brut androlib re resourcesdecoder decoderesource resourcesdecoder java 147 at brut androlib apkdecoder decode apkdecoder java 104 at brut apktool main cmddecode main java 217 at brut apktool main main main java 92 cause by java io ioexception expect 0x00000000 get 0x00000002 at brut util extdatainput skipcheckbyte extdatainput java 56 at brut androlib re decoder arscdecoder readvalue arscdecoder java 469 at brut androlib re decoder arscdecoder readcomplexentry arscdecoder java 440 at brut androlib re decoder arscdecoder readentrydata arscdecoder java 375 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 332 at brut androlib re decoder arscdecoder readresourcetable arscdecoder java 95 at brut androlib re decoder arscdecoder decode arscdecoder java 44 6 more note the value 0x00000002 may be different depend on which apk be be decompile the apk cause this exact error be within the attached zip step to reproduce 1 apktool d example apk framework the framework re apk file be attach in the zip file apk an example apk file be attach in the zip file attachment qpr2 bug zip
ibotpeachesapktool
bug regression sparseresource be always true
Bug
another issue that seem to be a regression since 2 8 0 sparseresource in apktool yml be force to true regardless of whether the original apk use sparse or not it s easy to reproduce 1 decompile any apk sparseresource be true in apktool yml 2 set sparseresource to false in apktool yml 3 recompile the apk 4 decompile the rebuilt apk sparseresource be true in apktool yml again this wasn t the behavior in apktool 2 7 1 snapshot and prior while it would still work when rebuild apks on an android 13 rom no such luck on android 10 other version might be affect as well as it cause a nasty boot failure w system bin idmap2 fail to create idmap for overlay apk path product overlay frameworksrescommonqva apk overlay product overlay frameworksrescommonqva apk do not successfully overlay any resource fail to create idmap f libc fatal signal 11 sigsegv code 1 segv maperr fault addr 0x7c2f611507 in tid 2172 idmap2 pid 2172 idmap2 I crash dump64 obtain output fd from tombstoned type kdebuggerdtombstone I system bin tombstone receive crash request for pid 2172 I crash dump64 perform dump of process 2172 target tid 2172 f debug f debug build fingerprint xiaomi dipper dipper 10 qkq1 190828 002 v12 5 2 0 qeacnxm user release key f debug revision 0 f debug abi arm64 f debug timestamp 2023 07 23 00 33 43 0300 f debug pid 2172 tid 2172 name idmap2 system bin idmap2 f debug uid 0 f debug signal 11 sigsegv code 1 segv maperr fault addr 0x7c2f611507 f debug x0 000000000000216d x1 0000007c2f229320 x2 0000007c2f200000 x3 0000000000000003 f debug x4 0000000000000029 x5 7365616d6c657373 x6 7373656c6d616573 x7 7f7f7f7f7f7f7f7f f debug x8 0000007c2f1d09bc x9 0000007c2f2413c0 x10 0000007c2f241338 x11 0000000000000011 f debug x12 00000000000002b1 x13 0000007c2f1d0a10 x14 0000007c2f1d09c0 x15 000000000044002f f debug x16 0000007c2f1d14d8 x17 0000007cb095c8f0 x18 0000007cb1a7e000 x19 0000007c2f2ba600 f debug x20 0000000000000007 x21 0000007fe36c04c0 x22 0000007c2f2ba600 x23 0000007c2f2292f0 f debug x24 0000007cb0da2020 x25 0000007fe36c04da x26 0000007c2f246180 x27 0000007c2f2462e8 f debug x28 0000007fe36c0524 x29 0000007fe36c04b0 f debug sp 0000007fe36c0490 lr 0000007caff577cc pc 0000007caff57844 f debug f debug backtrace f debug 00 pc 0000000000043844 system lib64 libandroidfw so android loadedpackage findentrybyname std 1 basic string std 1 allocator const std 1 basic string std 1 allocator const const 220 buildid 56e62e9e87e328cab13d1b88d7c2cca0 f debug 01 pc 0000000000039484 system lib64 libandroidfw so android assetmanager2 getresourceid std 1 basic string std 1 allocator const std 1 basic string std 1 allocator const std 1 basic string std 1 allocator const const 1016 buildid 56e62e9e87e328cab13d1b88d7c2cca0 f debug 02 pc 00000000000134c0 system lib64 libidmap2 so android idmap2 idmap fromapkasset std 1 basic string std 1 allocator const android apkasset const std 1 basic string std 1 allocator const android apkasset const unsigned int const bool 2188 buildid 140835afee413473b2c971a844f42dfa f debug 03 pc 0000000000007794 system bin idmap2 create std 1 vector std 1 allocator std 1 allocator std 1 allocator const 1860 buildid f14382a5540f8590c832167932481011 f debug 04 pc 0000000000010194 system bin idmap2 scan std 1 vector std 1 allocator std 1 allocator std 1 allocator const 8568 buildid f14382a5540f8590c832167932481011 f debug 05 pc 000000000000d244 system bin idmap2 main 1400 buildid f14382a5540hf8590c832167932481011 f debug 06 pc 000000000006ebc4 apex com android runtime lib64 bionic libc so libc init 108 buildid f6cc5d2d702265511937b56460b37693 e system bin tombstone tombstone write to datum tombstone tombstone 00 e asset fail to execute idmap2 w assetmanager idmap2 scan fail no static true overlay target android will be load w system bin idmap2 fail to create idmap for overlay apk path vendor overlay miuiframeworkresoverlay apk overlay vendor overlay miuiframeworkresoverlay apk do not successfully overlay any resource fail to create idmap
ibotpeachesapktool
bug regression apktool try to load unexpected framework package
Bug
a new issue with 2 8 0 and 2 8 1 snapshot whenever decompile an apk it now call getpackage and then loadframeworkpkg on arbitrary ids instead of just load the framework package the apk depend on don t have much information about this still investigate myself where those id be come from but here s a piece of log I add to both 2 8 1 snapshot and 2 7 1 snapshot for an obvious demo same apk leave be 2 8 1 snapshot right be 2 7 1 snapshot apktool 2 8 0
ibotpeachesapktool
bug can t decompile modify version of yo kai watch puni puni
Bug
information 1 apktool version apktool version custom build from late github code 2 operating system mac linux window window 3 apk from playstore rom other other 4 java version java version 8 I think stacktrace logcat I use apktool 2 8 1 dirty on app apk exception in thread main brut androlib exception androlibexception brut directory directoryexception java util zip zipexception invalid cen header invalid zip64 extra data field size at brut androlib re resourcesdecoder hasmanifest resourcesdecoder java 72 at brut androlib re resourcesdecoder decodemanifest resourcesdecoder java 104 at brut androlib apkdecoder decode apkdecoder java 95 at brut apktool main cmddecode main java 183 at brut apktool main main main java 87 cause by brut directory directoryexception java util zip zipexception invalid cen header invalid zip64 extra data field size at brut directory ziprodirectory ziprodirectory java 55 at brut directory ziprodirectory ziprodirectory java 38 at brut directory extfile getdirectory extfile java 49 at brut androlib re resourcesdecoder hasmanifest resourcesdecoder java 70 4 more cause by java util zip zipexception invalid cen header invalid zip64 extra data field size at java base java util zip zipfile source zerror zipfile java 1750 at java base java util zip zipfile source checkextrafield zipfile java 1276 at java base java util zip zipfile source checkandaddentry zipfile java 1219 at java base java util zip zipfile source initcen zipfile java 1689 at java base java util zip zipfile source zipfile java 1464 at java base java util zip zipfile source get zipfile java 1427 at java base java util zip zipfile cleanableresource zipfile java 723 at java base java util zip zipfile zipfile java 250 at java base java util zip zipfile zipfile java 179 at java base java util zip zipfile zipfile java 193 at brut directory ziprodirectory ziprodirectory java 53 7 more step to reproduce 1 download my custom build apktool framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything 2 if you be try to install a modify apk do you resign it 3 be you use the late apktool version
ibotpeachesapktool
bug exception in thread main while parse a block mapping
Bug
information 1 apktool version apktool version 2 8 0 2 operating system mac linux window window 3 apk from playstore rom other from internet 5 java version java version java version 1 8 0 371 java tm se runtime environment build 1 8 0 371 b11 java hotspot tm 64 bit server vm build 25 371 b11 mixed mode stacktrace logcat I use apktool 2 8 0 exception in thread main while parse a block mapping in reader line 2 column 1 apkfilename project apk expect but find in reader line 3 column 1 resource arsc at org yaml snakeyaml parser parserimpl parseblockmappingkey produce parserimpl java 665 at org yaml snakeyaml parser parserimpl peekevent parserimpl java 171 at org yaml snakeyaml comment commenteventscollector 1 peek commenteventscollector java 57 at org yaml snakeyaml comment commenteventscollector 1 peek commenteventscollector java 43 at org yaml snakeyaml comment commenteventscollector collectevent commenteventscollector java 136 at org yaml snakeyaml comment commenteventscollector collectevent commenteventscollector java 116 at org yaml snakeyaml composer composer composescalarnode composer java 221 at org yaml snakeyaml composer composer composenode composer java 190 at org yaml snakeyaml composer composer composevaluenode composer java 321 at org yaml snakeyaml composer composer composemappingchildren composer java 312 at org yaml snakeyaml composer composer composemappingnode composer java 293 at org yaml snakeyaml composer composer composenode composer java 194 at org yaml snakeyaml composer composer getnode composer java 116 at org yaml snakeyaml composer composer getsinglenode composer java 142 at org yaml snakeyaml constructor baseconstructor getsingledata baseconstructor java 155 at org yaml snakeyaml yaml loadfromreader yaml java 477 at org yaml snakeyaml yaml loadas yaml java 470 at brut androlib apk apkinfo load apkinfo java 164 at brut androlib apk apkinfo load apkinfo java 172 at brut androlib apkbuilder build apkbuilder java 82 at brut apktool main cmdbuild main java 261 at brut apktool main main main java 90 step to reproduce 1 decompile apk 2 compile apk directly 3 then miss content of compressiontype false and donotcompress in the file apktool yml brut androlib apk apkinfo apkfilename project apk resource arsc png isframeworkapk false mapkfilename terminal emulator apk msdkinfo minsdkversion 23 packageinfo forcedpackageid 127 renamemanifestpackage null resourcesarecompresse false sharedlibrary false sparseresource true unknownfile usesframework ids 1 tag null version 2 8 0 versioninfo versioncode 71 versionname 1 0 70 framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk if this apk can be freely share please upload attach a link to it terminal emulator zip question to ask before submission 1 have you try apktool d apktool b without change anything without change anything 5 if you be try to install a modify apk do you resign it 6 be you use the late apktool version yes late version
ibotpeachesapktool
bug java lang nullpointerexception can not invoke string length because value be null error
Bug
information 1 apktool version apktool version 2 7 0 2 operating system mac linux window window 3 apk from playstore rom other other 4 java version java version java 20 0 1 2023 04 18 stacktrace logcat I use apktool 2 7 0 on emby v3 3 07 b00003073 arm k apk I load resource table I decode androidmanif xml with resource I load resource table from file c user user desktop apk editor studio v1 7 1 datum framework 1 apk I regular manifest package I decode file resource exception in thread main java lang nullpointerexception can not invoke string length because value be null at brut androlib re decoder axmlresourceparser getattributenamespace axmlresourceparser java 292 at org xmlpull v1 wrapper classic xmlpullparserdelegate getattributenamespace xmlpullparserdelegate java 176 at org xmlpull v1 wrapper classic staticxmlserializerwrapper writestarttag staticxmlserializerwrapper java 267 at org xmlpull v1 wrapper classic staticxmlserializerwrapper event staticxmlserializerwrapper java 211 at brut androlib re decoder xmlpullstreamdecoder 1 event xmlpullstreamdecoder java 80 at brut androlib re decoder xmlpullstreamdecoder decode xmlpullstreamdecoder java 139 at brut androlib re decoder resstreamdecodercontainer decode resstreamdecodercontainer java 30 at brut androlib re decoder resfiledecoder decode resfiledecoder java 143 at brut androlib re decoder resfiledecoder decode resfiledecoder java 123 at brut androlib re androlibresource decode androlibresource java 240 at brut androlib androlib decoderesourcesfull androlib java 140 at brut androlib apkdecoder decode apkdecoder java 111 at brut apktool main cmddecode main java 175 at brut apktool main main main java 79 step to reproduce 1 apktool d f s emby v3 3 07 b00003073 arm k apk framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it 3 be you use the late apktool version yes