Closed vahidvdn closed 4 years ago
Hey @vahidvdn , sadly not sure what the problem is. All of my plugins have been on Mac so probably something related to the difference in path style. But since I never tried to build under windows I can't be 100% sure.
Hey @PeterStaev I found them in gruntfile.js and changed the following:
cmd: "./node_modules/.bin/tsc --project tsconfig.json --outDir " + localConfig.outDir
cmd: "./node_modules/.bin/tslint --project tsconfig.json --type-check"
To:
cmd: '"node_modules/.bin/tsc" --project tsconfig.json --outDir ' + localConfig.outDir
cmd: '"node_modules/.bin/tslint" --project tsconfig.json --type-check'
According to what mentioned here
Also I changed this:
cmd: "./gradlew build",
To:
cmd: 'gradlew build',
Now I get the following error:
BUILD FAILED
Total time: 6 mins 47.467 secs
>> FAILURE: Build failed with an exception.
>>
>> * What went wrong:
>> A problem occurred configuring project ':inappbillinghelper'.
>> > failed to find target with hash string 'android-22' in: C:\Android\android-sdk
>>
>> * Try:
>> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
>> Exited with code: 1.
>> Error executing child process: Error: Process exited with code 1.
Warning: Task "exec:build_android_aar" failed. Use --force to continue.
Aborted due to warnings.
Any idea?
Well the last error tells you what is wrong - it needs android-22 SDK installed.
@PeterStaev I've installed the other versions of android SDK. Is there any chance to let it compile with my own version of SDK?
@vahidvdn you should update the native android project located in the android
folder to the SDK you want.
Thanks @PeterStaev I was able to change it to version 28 and make it work. And one more question. Is this library implemented Google's in-app billing version 3 method?
Yes, this uses the v3 AIDLs
When I want to run:
I get the following errors:
Normally I can solve this error in Windows, but here you use
grunt
for the build process and I don't know what to do withgrunt
to make it work. Any idea?