Feeds

YES, you CAN install paid-for apps on Android Wear – if devs rebuild them

Google Play crypto glitch means extra work for coders

Intelligent flash storage arrays

Google has published a workaround that allows paid-for apps to be installed on Android Wear devices, but it's hardly straightforward and it's nothing device owners can do themselves.

Early adopters who purchased LG G or Samsung Gear Live smartwatches have been stymied by a glitch in the Google Play store's app encryption scheme that makes it impossible to load store-bought apps onto their devices.

The Chocolate Factory has now acknowledged that the problem exists, and has proposed a solution. Unfortunately, however, the fix isn't a matter of Android Wear owners hacking their devices. Rather, it requires Android Wear app developers to repackage their apps and resubmit them to Google Play.

The difficulty stems from the fact that the installer on the Android Wear device can't access the assets/ directory of a paid app, which is where the APK file that's meant to be installed on the wearable is usually located.

Google's solution is for app developers to move the wearable APK file to a different directory, res/raw/, where the wearable installer can get at it. If they then upload the fixed versions of their apps to the store, Android Wear owners will be able to download and install them.

Doing that isn't as easy as it sounds, however. Android developers usually build and package their apps using Gradle, an automated build toolkit. But the "wearApp" Gradle rule that devs use to package Android Wear apps is set up to put the wearable APK file in the assets/ directory, which only works for free apps that don't use Google Play's crypto locking system.

That means building paid apps for Android Wear now requires some extra legwork from developers, including shuffling files around by hand and even hand-coding some XML properties files to let the app know where to find the wearable APK.

Google says a future update to the Android software development kit (SDK) will include a revamped version of the Android Gradle tooling that supports packaging paid wearable apps in the res/raw/ directory.

"We will be also be updating the documentation to reflect the above workaround," the online ad-slinger helpfully explains. "We're working to make this easier for you in the future, and we apologize for the inconvenience." ®

Top 5 reasons to deploy VMware with Tegile

More from The Register

next story
Preview redux: Microsoft ships new Windows 10 build with 7,000 changes
Latest bleeding-edge bits borrow Action Center from Windows Phone
Google opens Inbox – email for people too thick to handle email
Print this article out and give it to someone tech-y if you get stuck
Microsoft promises Windows 10 will mean two-factor auth for all
Sneak peek at security features Redmond's baking into new OS
UNIX greybeards threaten Debian fork over systemd plan
'Veteran Unix Admins' fear desktop emphasis is betraying open source
Entity Framework goes 'code first' as Microsoft pulls visual design tool
Visual Studio database diagramming's out the window
Google+ goes TITSUP. But WHO knew? How long? Anyone ... Hello ...
Wobbly Gmail, Contacts, Calendar on the other hand ...
DEATH by PowerPoint: Microsoft warns of 0-day attack hidden in slides
Might put out patch in update, might chuck it out sooner
prev story

Whitepapers

Choosing cloud Backup services
Demystify how you can address your data protection needs in your small- to medium-sized business and select the best online backup service to meet your needs.
Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.