Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(android): fix build deps #13317

Merged
merged 3 commits into from
Mar 21, 2022
Merged

Conversation

hansemannn
Copy link
Collaborator

@hansemannn hansemannn commented Mar 19, 2022

The local build was failing because of two reasons:

  1. If no cached V8 artifact was found, a new one could not be fetched because the https:// cert expired and we don't have any other server for it, yet
  2. The build failed on newer versions of Android Studio because of the outdated Kotlin version

@@ -174,7 +174,7 @@ async function createSnapshot() {
// Post rolled-up "ti.main" script to server and obtain a snapshot ID as a response.
// We will send an HTTP request for the snapshot code later.
console.log('Attempting to request snapshot...');
const snapshotUrl = 'https://v8-snapshot.appcelerator.com';
const snapshotUrl = 'http://v8-snapshot.appcelerator.com'; // TODO: Migrate to Github Artifacts once ready
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it on a Mac and I had the same certificate error. This change fixed it 👍

@m1ga
Copy link
Contributor

m1ga commented Mar 19, 2022

Don't have the Kotlin problem with my Macbook Air (Intel, 2020), macOS 12.2.1, Android Studio 2021.1.1 Patch 2, Java 15.0.1). I can build an SDK with just the URL fix but having a newer Kotlin version doesn't hurt. The SDK doesn't use any Kotlin files so I'm not sure why it would fail 😄

@hansemannn hansemannn merged commit dbb7177 into tidev:master Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants