Problem updating AAR files to new version

433 views
Skip to first unread message

Jorge Bonafé

unread,
Jan 17, 2017, 11:59:43 AM1/17/17
to Blockly
So I recently updated Blockly Android on Android Studio with the latest git release. The project compiles and runs fine. When I generate the .aar files as I did before and replaced the old ones on my own project, I got a few errors, resources not found on my xml, all of these:

@color/translucent
@drawable/zoom_in
@drawable/zoom_out
@drawable/reset_view
@drawable/trash

That's all I did, replace the AARs. I'm kind of at a loss here... Does anyone know what is happening?
Thanks in advance

Andrew n marshall

unread,
Jan 17, 2017, 12:22:30 PM1/17/17
to blo...@googlegroups.com
Hey Jorge,
Do you have a project repository I can look at? Email me off list.

--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jorge Bonafé

unread,
Jan 18, 2017, 2:43:56 PM1/18/17
to Blockly
Ok, I fixed it. It was Android Studio being annoying. Apparently AS can have problems with AAR files. It would compile and build just fine, but it would falsely accuse those errors for some inexplicable reason.

For posterity, what I did is I found this link and followed the instructions there. I had to make a local maven repository with the generated AAR files, and imported that into my project. The false errors went away.

Reply all
Reply to author
Forward
0 new messages