You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-10 22:11:50 +02:00
Chore: Trying to fix Android build
This commit is contained in:
@@ -124,7 +124,13 @@ async function createRelease(projectName: string, releaseConfig: ReleaseConfig,
|
||||
|
||||
console.info(`Building APK file v${suffix}...`);
|
||||
|
||||
const buildDirName = `build-${name}`;
|
||||
// Normally we should build in the `build-main` folder but it seems Expo has a hard-coded path
|
||||
// to `build` and fail with this error:
|
||||
//
|
||||
// A problem occurred evaluating project ':app'
|
||||
// > /Users/laurent/src/joplin-new/packages/app-mobile/android/build-main/generated/autolinking/autolinking.json
|
||||
// > (No such file or directory)
|
||||
const buildDirName = name === 'main' ? 'build' : `build-${name}`;
|
||||
const buildDirBasePath = `${rnDir}/android/app/${buildDirName}`;
|
||||
await remove(buildDirBasePath);
|
||||
|
||||
|
Reference in New Issue
Block a user