Official Android Studio repository? - android-studio

I found this tutorial for installing Android Studio on Linux: https://linuxhint.com/install_android_studio_ubuntu/
It says:
In this step, you will need to add the official Android repository to the source list of your system. To do this, enter the following command in the terminal window:
$ sudo add-apt-repository ppa:maarten-fonville/android-studio
It declares maarten-fonville/android-studio as the "official Android repository".
I couldn't find references to this PPA from Google's official documentation. It's also not mentioned in the Android Studio download page: https://developer.android.com/studio .
I found this page: https://launchpad.net/~maarten-fonville , and looking at the description and content, I saw no indication that it belonged to or was affiliated with Google or JetBrains.
I have no reason to believe that there is anything wrong with that PPA; in fact, I even used it successfully in a VM. But I am reluctant to use non-official repositories on my main machine, for security reasons.
How can I verify that this PPA is indeed "official" and approved (and/or monitored?) by either Google or JetBrains?

The repository isn't mentioned as official. You can try other methods to install AS on Linux if you're not sure
Option 1: https://linuxconfig.org/how-to-install-android-studio-on-ubuntu-20-04-focal-fossa-linux
Option 2: https://developer.android.com/studio#downloads
AS is free and distributed as an archive...so always chances of multiple copies on the internet. Doesn't necessarily mean they are wrong.

Related

CYGWIN WARNING: Couldn't comute FAST__CWD

Hi we are currently using Quickbuild for our Automation Jobs,apparently as we tried to deploy some changes we are unable to proceed due to this:
Does anyone know how to fix this? I have tried updating our git version to the latest, and I have also tried to install a cygwin latest version, none of this has solved our problem.
https://www.cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings
4.45.
How do I fix find_fast_cwd warnings?
Older Cygwin releases asked users to report problems to the mailing list with the message:
find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report
this problem to the public mailing list cygwin#cygwin.com
Recent Cygwin releases changed this to the message:
This typically occurs if you're using an older Cygwin version on a newer Windows.
Please update to the latest available Cygwin version from https://cygwin.com/.
If the problem persists, please see https://cygwin.com/problems.html.
This is not serious, just a warning that Cygwin may not always be able to exactly emulate all aspects of Unix current directory handling under your Windows release.
Unfortunately some projects and products still distribute older Cygwin releases which may not fully support newer Windows releases, instead of installing the current release from the Cygwin project. They also may not provide any obvious way to keep the Cygwin packages their application uses up to date with fixes for security issues and upgrades.
The solution is simply downloading and running the Cygwin Setup program, following the instructions in the Internet Setup section of ``Setting Up Cygwin'' in the Cygwin User's Guide.
Please exit from all applications before running the Cygwin Setup program. When running Setup, you should not change most of the values presented, just select the Next button in most cases, as you already have a Cygwin release installed, and only want to upgrade your current installation. You should make your own selection if the internet connection to your system requires a proxy; and you must always pick an up to date Cygwin download (mirror) site, preferably the site nearest to your system for faster downloads, as shown, with more details to help you choose, on the Mirror Sites web page.
The Cygwin Setup program will download and apply upgrades to all packages required for Cygwin itself and installed applications. Any problems with applying updates, or the application after updates, should be reported to the project or product supplier for remedial action.
As Cygwin is a volunteer project, unable to provide support for older releases installed by projects or products, it would be helpful to let other users know what project or product you installed, in a quick email.

Checkov in windows

Can checkov-satic code analysis for infrastructure as a tool can be installed or not?
I checked the documentation. It has mentioned the steps for Unix, but not for windows
you should be able to install it on windows or use the docker packing to gain similar results.
If you have any issue, feel free to reach out at https://slack.bridgecrew.io/
Barak, The creator of checkov

macOS cannot verify the developer of "clang"

I updated to macos-catalina and I am trying to crosscompile c++ code for android using android-ndk-r18b
macOS cannot verify the developer of “clang". Are you sure you want to open it?
It asks me for all different executables/compilers (e.g arm-linux-androideabi-ranlib). I got around this by got around it by going to Security & Privacy and allowing all executables that show up there. Is there a more generic way to authorize everything within the android ndk?
Open `System Preferences/Security & Privacy/Developer Tools.
Allow Terminal app to run software locally that does not meet system's security policy
This was essentially answered in the comments by Dan Albert, but to add an actual answer, as per android ndk issue 1060:
For macOS, the SDK manager is the most reliable method of acquiring the NDK for most use cases and should be preferred until something else changes. That is not viable for all users, but if it is an option for you that's your best option.
In other words, if you install/reinstall an NDK using SDK manager, you should end up with a version that gatekeeper will be happy about, e.g.:
android/Sdk/tools/bin/sdkmanager --install "ndk;18.1.5063045"
The best way is to update the ndk to R21. if your Macos version is catalina.
"No Mac NDK before NDK r21 was signed or notarized."
Download and install the Mac App Bundle version of the NDK available since r21 from this page.

How can i publish my software to public linux repos to be available with "apt" installers etc

I have developed (free) software, more precisely, a development environment or a code editor called "Lines". On the web I have set up installation packages for Windows and Linux, but I would like the application to be available as an "apt" package on linux systems. The easiest way to do this (and not get tired) is?
By the way, software and installation packages are available at https://creatixbih.com/lines/
Thank you.
Since I'm not really a "linux" guru, I've been trying to find an automated solution.
First you need to create a DEB package, you can read more about it here.
The easiest way to get your package into huge repositories would be to submit your package to Debian, where Ubuntu is based off. A detailed explanation can be found here.
Another good method would be to host your OWN apt repository which is being explained here

How do I open android projects using emacs ede

The emacs documentation http://www.gnu.org/software/emacs/manual/html_mono/ede.html#Android-projects mentions that global-ede-mode supports android projects.
It mentions a function to declare the android sdk location, which I cannot find in emacs.
It also mentions that ede includes tools to interface with android tools, such as build and run emulators. These tools I cannot find either.
Has anybody had any luck using emacs built in ede mode to access android projects?
Currently running lubuntu 14.04 with emacs 24.3.1
The Android support for EDE is part of the CEDET project at http://cedet.sf.net, but that part wasn't included during the last merge from the CEDET repository into Emacs. Apparently that support wasn't removed form the manual. :)
If you download the sources from bzr, you will discover lisp/cedet/cedet-android.el, and lisp/cedet/ede/android.el which is the the support you found described in the manual.
In theory, you might be able to pull those two files down from bzr and just add to your own lisp repository, though it is always safest to download the entirety of the CEDET code and use it's install mechanism to ensure everything works correctly.
Once installed, you will find that the Development menu as project and target options that list things like starting up the debugger, or easily navigating between different .xml sources and your java source.

Resources