Re: [android-porting] error in .apk installation with "User" buid variant
On Tue, Mar 26, 2019 at 10:16 PM radhika somaiya < somaiyaradhika...@gmail.com> wrote: > @Rex Tener, Thank a lot for your answer. I already gone through the stack > overflow link suggested by you. But my question is Can we install any > package with user build? > > @Satish Patel, So the apks which does not access system partition can be > install easily in User build. Right? > yes. if you can send me the apk I will validate locally on my build and let you know the problem. > > > On Thursday, March 21, 2019 at 8:54:28 PM UTC+5:30, Rex Tener wrote: >> >> This is an intended behavior. I think this answer in Stackoverflow might >> have a workaround that would work for you. >> >> >> https://stackoverflow.com/questions/25477424/adb-shell-su-works-but-adb-root-does-not >> >> -- >> Rex >> >> On Wed, Mar 20, 2019 at 9:11 AM radhika somaiya >> wrote: >> >>> Hi Everyone, >>> >>> I learnt that android comes with three kind of build variants - user, >>> userdebyg and eng >>> >>> However I am trying to install an .apk package in user type of build >>> variant but somehow it's getting failed with following error : >>> >>> "adb d cannot run as root in production builds" >>> >>> I want to know that is it necessary to use either userdebug or eng for >>> installing apk application on command line or we can install any .apk with >>> user build? >>> >>> Any help would be appreciated! >>> >>> Thank You, >>> Radhika Somaiya >>> >>> -- >>> -- >>> unsubscribe: android-porti...@googlegroups.com >>> website: http://groups.google.com/group/android-porting >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "android-porting" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to android-porti...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > > --- > You received this message because you are subscribed to the Google Groups > "android-porting" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-porting+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Regards, satish patel -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-porting] error in .apk installation with "User" buid variant
@Rex Tener, Thank a lot for your answer. I already gone through the stack overflow link suggested by you. But my question is Can we install any package with user build? @Satish Patel, So the apks which does not access system partition can be install easily in User build. Right? On Thursday, March 21, 2019 at 8:54:28 PM UTC+5:30, Rex Tener wrote: > > This is an intended behavior. I think this answer in Stackoverflow might > have a workaround that would work for you. > > > https://stackoverflow.com/questions/25477424/adb-shell-su-works-but-adb-root-does-not > > -- > Rex > > On Wed, Mar 20, 2019 at 9:11 AM radhika somaiya > wrote: > >> Hi Everyone, >> >> I learnt that android comes with three kind of build variants - user, >> userdebyg and eng >> >> However I am trying to install an .apk package in user type of build >> variant but somehow it's getting failed with following error : >> >> "adb d cannot run as root in production builds" >> >> I want to know that is it necessary to use either userdebug or eng for >> installing apk application on command line or we can install any .apk with >> user build? >> >> Any help would be appreciated! >> >> Thank You, >> Radhika Somaiya >> >> -- >> -- >> unsubscribe: android-porti...@googlegroups.com >> website: http://groups.google.com/group/android-porting >> >> --- >> You received this message because you are subscribed to the Google Groups >> "android-porting" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to android-porti...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-porting] error in .apk installation with "User" buid variant
Is your apk using any system privileges or running as system process ?? On Wed, 20 Mar 2019, 21:41 radhika somaiya, wrote: > Hi Everyone, > > I learnt that android comes with three kind of build variants - user, > userdebyg and eng > > However I am trying to install an .apk package in user type of build > variant but somehow it's getting failed with following error : > > "adb d cannot run as root in production builds" > > I want to know that is it necessary to use either userdebug or eng for > installing apk application on command line or we can install any .apk with > user build? > > Any help would be appreciated! > > Thank You, > Radhika Somaiya > > -- > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > > --- > You received this message because you are subscribed to the Google Groups > "android-porting" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-porting+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-porting] error in .apk installation with "User" buid variant
On Wed, Mar 20, 2019 at 9:41 PM radhika somaiya wrote: > Hi Everyone, > > I learnt that android comes with three kind of build variants - user, > userdebyg and eng > > However I am trying to install an .apk package in user type of build > variant but somehow it's getting failed with following error : > > "adb d cannot run as root in production builds" > Looks like apk you are trying to install, accessing system partition. also make sure you enable settings -> allow third party apps to be installed and try to install the apk after that. > > I want to know that is it necessary to use either userdebug or eng for > installing apk application on command line or we can install any .apk with > user build? > > Any help would be appreciated! > > Thank You, > Radhika Somaiya > > -- > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > > --- > You received this message because you are subscribed to the Google Groups > "android-porting" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-porting+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Regards, satish patel -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-porting] error in .apk installation with "User" buid variant
This is an intended behavior. I think this answer in Stackoverflow might have a workaround that would work for you. https://stackoverflow.com/questions/25477424/adb-shell-su-works-but-adb-root-does-not -- Rex On Wed, Mar 20, 2019 at 9:11 AM radhika somaiya wrote: > Hi Everyone, > > I learnt that android comes with three kind of build variants - user, > userdebyg and eng > > However I am trying to install an .apk package in user type of build > variant but somehow it's getting failed with following error : > > "adb d cannot run as root in production builds" > > I want to know that is it necessary to use either userdebug or eng for > installing apk application on command line or we can install any .apk with > user build? > > Any help would be appreciated! > > Thank You, > Radhika Somaiya > > -- > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > > --- > You received this message because you are subscribed to the Google Groups > "android-porting" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-porting+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.