build under gradle: same certificate - Android Auto General

Hi there. What option in Gradle
corresponds to next one from soong build system in AOSP:
certificate: "platform",
I want to find an appropriate one so when I'm installing the application via gradle in android studio and do the same via 'mm' in AOSP i want to obtain one package in a build system.

Related

Lineage OS use experience on MIX

Lineage OS use experience
1. Development used in the final version of the ADT, found after upgrade 7.0,logcat does not println log ,enter USB-driver ini add VID but not work ,finaly use eclipse install ADT offline zip or AS work;
2.USB ehernet and wireless sharing not work ,no one mentioned 。kernel of this piece I do not understand ,xiaomi github kernel code havenothing,MIX repair package 5、6 actually repair the kernel ,Wonder how these great gods how to find up the package up
3. Telecom in the 2 card I tried to change build.properties、 * # *#4636# *#* into the engineering model set the preferred mode ,but no matter how the restart will fall to register the network ;
4.NFC is not available
5. Fingerprint in Alipay is that is not available,but I see ZUK machine support do not know how to achieve
6.magisk there are several modules such as open google assistant that I tried it is possible
In fact, the kernel how to build is most important

Android studio support android version 6

I've made an application that was tested on three mobile phones. Two of them have android version 7 and application works on them without any errors. The third one has android version 6.01 and when I start application, it goes blank and on logcat there are 2 warnings:
Code:
ClassLoader referenced unknown path:
/data/app/com.ja.prog-1/lib/arm
Second one:
Code:
Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter
(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
You didn't post any of your xml files. My guess: try to use app:backgroundTint instead of android:backgroundTint

[Project] Huawei Recovery MITM

About the project
This is a Asp.Net Core Web Api endpoint providing a replica of the Huawei API to get the recovery / update service to actually work.
It works using a local DNS server to redirect the phones traffic to the local API offering the desired firmware infos.
I only tested it against the PRA-LX1 right now but it should be the same for every Huawei phone.
A basic guide and the code are available at the GitHub repository.
Looking for a Linux human helping me adding a startup service executing a script with some commands!
Also need a macOS user to help me write a Installation guide for that system. A Hackintosh just isnt the same.
GitHub repository:
https://github.com/Iocere/HuaweiWebApi
Windows installation guide
Things I'm working on
Spoofing the other endpoints
True independence of the official recovery servers
Adding a GUI if when .NET Core finally get XAML support or make use of Electron or a local website but I cant be arsed :/
Ease of use
Changelog
07.12.2017 | Resivion 6
- Added a preconfigured VirtualBox Image containing Ubuntu Server with recovery server. You can find it on the GitHub.
- Added a proper Wiki and a better(?) guide to get it running on windows with use of the VirtualBox image.
06.12.2017 | Resivion 5
- Removed static IP address from the DNS server and moved it to the configuration file. Sorry!
- Updated the guide to fit to the changes.
Feel free to contribute.
Just got phone today and I'm PRA-LX1C432B115 firmware no updates when search out the box , but firmware finder says higher build B191 yet when check compatibility says not for device,
What does this do force updates or summit? Thanks
Sent from my PRA-LX1 using Tapatalk
With this you can force the update yes. The default version in this application is B110. After you restored to that one you can update normally to B182.
Or you try a different one like B191 but i cant guarantee that it's working. Our device in the files from huawei is also listed as L11 or something.
Edit: Found a bug. Updated the repo.

Compiling Code from older Android Studio / Gradle / React Native Version errors

Hello All,
I am new with programming for Android and could use some help compiling someone else's code I have as I am attempting to test a older App for educational use and debugging experience. I have not yet been able to get the code to run, and I have done some searches and tried a few approaches already without luck so I am just hoping someone may point me in to the right direction of what I am missing.
I believe most of my issues may lie in versioning of old dependencies so I have been trying to compile with older version of Android Studio (as well as current version initially) along with matching versions of Gradle and React-Native, all without luck. Here are the version details I can see from the code...
From looking at the code I know it is using:
React-Native 0.53.3
Yarn Package Manager
Gradle 2.2.3
From Top level build.gradle:
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
....
repositories {
mavenLocal()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
From sub level build.gradle:
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
From gradle-wrapper.properties:
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
At this point I have multiple copies of the code that I have tried different gradle versions and react-native versions along with current and older Android studio with a plethora of different compile issues with each setup that I have not been able to solve so I think it may be best for me to start again with a clean version of the code as a new AS project, and I hope some of you more experienced guys might be able to point me in the right direction for setting this up to get it to compile.
Should I try again to match the original AS version, Gradle Version, and React Native version the code was written for? Is their anything I am missing or just try to compile from there and debug errors that arise?
I just did a Quick test on Studio 2.3.3 - I select import gradle and select the build.gradle from the source code.
Error79, 0) Could not read script 'C:\...\node_modules\react-native\react.gradle' as it does not exist."
I then run npm install in project root directory
Sync Gradle Build and run I get:
"Unable to load script from assets 'index.android.bundle' Make sure your bundle is package correctly or your running a packager server"
Build errors on Studio 3.3.1:
> "ERROR: Could not get unknown property 'mergeResourcesProvider' for
> object of type
> com.android.build.gradle.internal.api.ApplicationVariantImpl."
Any help and suggestions are truly appreciated!

build-in your app into soong aosp

Hi there.
I have successfully built my application under gradle against android auto aosp. Now I want to integrate it via soong blueprint.
During integration, i faced with a few code reorganizations issues:
1) For instrumentation tests I had instrumentation integrated in my package however AOSP seems to suggest to separate it from my package with own bp and manifest that is basically mentioned here:
Self-Instrumenting Tests Example | Android Open Source Project
source.android.com
am I correct to do so or I could somehow remain my package structure?
2) I faced with rather small issue:
Code:
Attribute [email protected] value=(false) from AndroidManifest.xml:12:18-51
is also present at AndroidManifest.xml:19:47-79 value=(true).
Suggestion: add 'tools:replace="android:extractNativeLibs"' to <application> element at AndroidManifest.xml:12:5-24:19 to override.
?
But once I tried to fix it via suggested tools:replace and added
Code:
xmlns:tools="http://schemas.android.com/tools"
and
tools:replace="android:extractNativeLibs"
i obtained another errors like
Code:
error: '' is incompatible with attribute type (attr) enum [linear=0, radial=1, sweep=2].
error: '' is incompatible with attribute startX (attr) float.
seems AOSP doesn't understand xmlns:tools anymore... Has anyone faced with this issue?

Categories

Resources