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

Cannot build #336

Open
3 of 4 tasks
yakagami opened this issue Feb 4, 2024 · 2 comments
Open
3 of 4 tasks

Cannot build #336

yakagami opened this issue Feb 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@yakagami
Copy link

yakagami commented Feb 4, 2024

复现步骤 / Steps to reproduce

  1. rename config.sample
  2. rename firebase.sample
  3. try to build in debug or release

I was able to build without issues a few months ago. (when it was in the previous repo.)

预期行为 / Expected behaviour

should build

实际行为 / Actual behaviour

Execution failed for task ':app:processReleaseGoogleServices'.
com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 32 path $

备注 / Additional details

I also get this error at the start of compiling. I don't think it is related.

One or more plugins require a higher Android NDK version.
Fix this issue by adding the following to [path]/FEhViewer/android/app/build.gradle:
android {
ndkVersion "25.2.9519653"
...
}

FEhViewer 版本号 / FEhViewer version code

master

FEhViewer CI 版本 / FEhViewer CI version

N/A

平台 / Platform

No response

系统版本 / System version

N/A

设备型号 / Device model

N/A

SoC 型号 / SoC model

N/A

应用日志 / App logs

see above

自查步骤 / Self-review steps

  • 如果您有足够的时间和能力,并愿意为修复此问题提交 PR ,请勾上此复选框 / Pull request is welcome. Check this if you want to start a pull request
  • 您已搜索过 Issue Tracker,没有找到类似的问题 / I have searched on Issue Tracker, No duplicate or related open issue has been found
  • 您确保这个 Issue 只提及一个问题。如果您有多个问题报告,烦请发起多个 Issue / Ensure there is only one bug report in this issue. Please make mutiply issue for mutiply bugs
  • 您确保已使用 最新 CI 版本 测试,并且该问题在最新 CI 版本中并未解决 / This bug have not solved in latest CI version
@yakagami yakagami added the bug Something isn't working label Feb 4, 2024
@yakagami
Copy link
Author

yakagami commented Feb 4, 2024

seems like d32fd2a is related here

@yakagami
Copy link
Author

yakagami commented Feb 4, 2024

commenting out these lines in app/build.gradle fixes the issue:

//apply plugin: 'com.google.gms.google-services'
//apply plugin: 'com.google.firebase.crashlytics'

also removed

//classpath 'com.google.gms:google-services:4.3.14'
//classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'

so this is caused by firebase somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant