Android stud. not building apk - android-studio

my problem is that I want to make a signed apk file, I choose create signed apk file enter anything I need to enter, but the apk isn't appearing at the desktop (apk dest. location:Desktop)
Here is the build log:
Executing pre-compile tasks...
Running 'before' tasks
Checking sources
Running 'after' tasks
Finished, saving caches...
Executing post-compile tasks...

You can generate signed apk in menu build -> Generate signed bundle/apk. You may need to create keystore.jks and save it because when you upload on playstore, you can only use the same keystore file

Related

Cmakefiles missing after code coverage execution

I am trying to generate code coverage report using LCOV in Ubuntu platform. I referred
https://github.com/QianYizhou/gtest-cmake-gcov-example
It is working.
I am giving cmake --build ../application/build --target install in my shell script.
After script execution, I can see that the cmakefiles are generated in the build folder.
cd build && make test
cd build && make coverage_TEST_NAME //To check the coverage
I did execute above in my build folder and I generated report.
My problem is, I use this in gitlab pipeline. There is no build folder I can see. So I don't know how to do make coverage_TEST_NAME in my yml file
Generate code generation output in gitlab pipeline.
Problem resolved. Just like in my Ubuntu virtual machine, the application folder was there in my docker image.
I just added a ../application/build command in my yml script, it navigated there.

Signing and aligning apk files task is only signing one apk

My pipeline is getting succeeded but I need to get 3 signed APK's at artifacts. Only one of them is getting signed. I need all of them to get signed.
I'm using **/*.apk under APK files
And --verbose under apksigner arguments. Do I need to change anything here to get all of them signed.

Integrating custom Linux test project package with Alpine

I have downloaded the Linux Test Project repository and compiled it. I now want to integrate it with the Alpine's binary image while compiling. A unix shell script that has Alpine specific commands will kick-in during compile time which adds these packages to the Alpine's binary. All the standard packages (like Python, Nginx and memcached) are getting integrated successfully by this script except LTP. The command used here is apk add <package name>. The same command doesn't work with the custom LTP's binary.
I tried n number of things like upgrading the apk package, supplying the entire LTP repository using --repository option, trying to manually generate an APKBUILD.tar.gz. Nothing works. Any help would be deeply appreciated.
Thanks in advance !

You must sign an apk with the same signature as the app you are trying to certify - blockchainds.com : How to sign an apk file by Android Studio?

In according documentation of blockchainds.com (an apk market) I must to download an apk prepared by the site and then sign this apk with same signature as my main app(that is uploaded).
My problem:How I sign an apk file. I get erros. I can sign my project with the same signature.Also I can'not resign my own apk yet.How we could sign an apk file(not project) in android studio 3.2 ?
You can find details about signing an apk using android studio here You can check this video tutorial also.
Now for signing the blank apk from blockchainds you need to go to the directory where java is installed. Open Command prompt and type cd C:\Program Files\Java\jdk-9.0.1\bin (If you have changed the installation folder, use this same command but change the directory to the one you have selected during the installation of the SDK)
type in the following command, but with the following arguments:
jarsigner -keystore <path to the keystore file> <path to the unsigned APK> <keystore alias>
Example: jarsigner -keystore “C:\Users\Keystore\my_signature.jks" “C:\Users\Downloads\Unsigned_Test.apk” <your keystore alias name>
You will be asked to insert the password for your Keystore file, type it down and press enter. Your password is being inserted even if no text is shown!
If everything went right, the unsigned APK will be signed and you can now submit it.

Yocto zip download on every build

Hi I would like to download in a bitbake recipe on every build from a http:// address! At the moment I am just able to download on the first build. Does anybody knows how I can force Yocto how to download on every build?
Assuming the download happens in do_fetch, this should do the trick:
do_fetch[nostamp] = "1"
From the bitbake docs:
[nostamp]: When set to "1", tells BitBake to not generate a stamp file for a task, which implies the task should always be executed.

Resources