GithubHelp home page GithubHelp logo

Comments (13)

grishka avatar grishka commented on May 27, 2024 1

Appkit is on maven central. I didn't upload version 1.2.1 yet because I'm not yet sure if I'll need to fix anything else in it, and publishing something to maven central is kind of an irreversible process (you have to release it as a new version every time). You can clone the repo and put it into your local maven repository (publishReleasePublicationToMavenLocal gradle task) and then it'll work.

Google no longer provides Build Tools 33.0.0-rc1, but there is 33.0.0-rc2 as of today

TIL

from mastodon-android.

grishka avatar grishka commented on May 27, 2024 1

Устанавливает. Maven вообще считается стандартом для зависимостей в джаве, и все другие системы сборки его поддерживают. Вот версия 1.2.1: https://search.maven.org/artifact/me.grishka.appkit/appkit/1.2.1/aar

Если хочешь что-нибудь поменять в самом appkit, можно использовать publishReleasePublicationToMavenLocal, локальный репозиторий по идее должен иметь приоритет.
image

Я всё-таки закрою ишью, потому что кажется, что инцидент исчерпан.

from mastodon-android.

grishka avatar grishka commented on May 27, 2024

So actually, the buildToolsVersion line is no longer required and it'll just use whatever you have installed if it's not present, which is a good thing. And also TIL that the supported java features depend not on the build tools but on the gradle plugin. After updating that to 7.1.3 I can now build the project with java 17 language level 🤔

from mastodon-android.

LumaerisArchive avatar LumaerisArchive commented on May 27, 2024

Good to know!

... You can clone the repo and put it into your local maven repository (publishReleasePublicationToMavenLocal gradle task) and then it'll work.

I'll check it out when I'm home, rn I'm a little busy

from mastodon-android.

LumaerisArchive avatar LumaerisArchive commented on May 27, 2024

The build succeeded! ...but I can't install the application I just built. :/

I did not see any problems or errors during the build (except for the lack of local.properties).

from mastodon-android.

grishka avatar grishka commented on May 27, 2024

...but I can't install the application I just built. :/

What's the error? adb install returns it and it's also visible in logcat

from mastodon-android.

LumaerisArchive avatar LumaerisArchive commented on May 27, 2024
Performing Streamed Install
adb: failed to install .\mastodon-release-unsigned.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed collecting certificates for /data/app/vmdXXXXXXXXXX.tmp/base.apk: Failed to collect certificates from /data/app/vmdXXXXXXXXXX.tmp/base.apk: Attempt to get length of null array]

Did I forget to specify something?

from mastodon-android.

grishka avatar grishka commented on May 27, 2024

I don't know how you built it, but you didn't sign it

from mastodon-android.

LumaerisArchive avatar LumaerisArchive commented on May 27, 2024

Oh... right. Everything is okay now.

I'll leave this issue open, since the main problem remains unchanged

from mastodon-android.

grishka avatar grishka commented on May 27, 2024

since the main problem remains unchanged

Which problem?

from mastodon-android.

LumaerisArchive avatar LumaerisArchive commented on May 27, 2024

Which problem?

"Not covered grishka/appkit", as I mentioned earlier. Not sure if it installs on its own with the latest changes tbh

from mastodon-android.

grishka avatar grishka commented on May 27, 2024

What the heck does "not covered" even mean? You aren't making any sense.

from mastodon-android.

LumaerisArchive avatar LumaerisArchive commented on May 27, 2024

... пожалуй, объясню на своём родном языке.

Я хотел донести, что сборка твоего Appkit не была описана в README, пока ты мне не объяснил какую команду лучше использовать для этого. До появления оф.клиента Mastodon я никогда самостоятельно не собирал приложения для своего смартфона, из-за чего я не могу знать, Gradle устанавливает пакеты с Maven Central или нет 🤔

from mastodon-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.