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

build error: Cannot invoke "String.startsWith(String)" because "versionOutput" is null #218

Open
FlashlightET opened this issue Oct 4, 2023 · 2 comments

Comments

@FlashlightET
Copy link

Describe the bug
Simply trying to build i get "Cannot invoke "String.startsWith(String)" because "versionOutput" is null"

To Reproduce
Steps to reproduce the behavior:

  1. Build project
  2. See error

Expected behavior
App build continues on

Screenshots
image

Smartphone (please complete the following information):

  • Device: Samsung Galaxy A21 (this isnt relevant though)
  • OS: Android 10
  • Version Latest

Additional context
Add any other context about the problem here.

@KillerInk
Copy link
Owner

hi
cant reproduce it. building fine here.
when i have to guess, from that one line of the build log, i would say you dont have set a version.
and your problem is this line

outputFileName = "FreeDcam_${variant.buildType.name}_${variant.versionName}.apk"

@KillerInk
Copy link
Owner

and here is a sample how to extend max iso on camera2

<device name="Huawei_P9">
<models>
<item>EVA-L09</item>
</models>
<camera2>
<maxexposuretime>32000000</maxexposuretime>
<minexposuretime>10</minexposuretime>
<maxiso>52000</maxiso>
</camera2>
</device>

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

No branches or pull requests

2 participants