[Ovmsdev] Battery cell monitor on Android
Michael Balzer
dexter at expeedo.de
Wed Aug 19 18:50:55 HKT 2020
Derek,
generalizing the battery chart would be great, but we should probably
define a better history data structure for that purpose first. The
RT-BAT-C records don't scale well to hundreds of cells.
On Android Studio… I'll check my config later, Android Studio needs all
the RAM my PC can provide… but I don't recall having anything related to
AndroidX in my build config.
Besides, I don't think my local config has anything more over the
repository files except the key store.
The packages you mention are pulled in automatically from the google
repository. Maybe Google have once again pulled the deprecation card…
Regards,
Michael
Am 19.08.20 um 02:09 schrieb Derek Caudwell:
> Hi Michael,
>
> Now that the battery cell polling is working reliably for my Gen2 Leaf
> I am interested in using the Battery/Temp Monitor Android feature you
> have for the Twizy.
>
> I have got stuck however trying to setup the Android build environment
> in Android Studio. I have installed the SDK for Pie v28, and included
> a gradle.properties file with android.useAndroidX=true to resolve the
> build error on AndroidX dependencies.
>
> I now seem to be coming up against build errors for older packages
> such as:
> error: package android.support.v7.app does not exist
> error: package android.support.v4.content does not exist
>
> A google on these types of errors suggests updating implementation and
> import statements to AndroidX equivalents, however I assume it is
> simply I am missing an option somewhere to have these packages
> downloaded and included in the build?
>
> Apologies if I am missing something simple here but I could not find a
> guide similar to that for building the open vehicle monitoring system
> environment.
>
> Thanks for the help.
>
> Cheers
> Derek
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20200819/5ecea602/attachment.htm>
More information about the OvmsDev
mailing list