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 find symbol R on Android #252

Open
minkyn opened this issue Dec 5, 2024 · 1 comment · May be fixed by #254
Open

Cannot find symbol R on Android #252

minkyn opened this issue Dec 5, 2024 · 1 comment · May be fixed by #254
Labels
bug Something isn't working

Comments

@minkyn
Copy link

minkyn commented Dec 5, 2024

Describe the issue

This is similar to the issue reported in RN plugin.

For Flutter plugin v1.7.9, building on Android yields the error:

.../square_in_app_payments-1.7.9/android/src/main/java/sqip/flutter/internal/CardEntryModule.java:281: error: cannot find symbol
    theme.applyStyle(R.style.sqip_Theme_CardEntry, true);
                      ^
  symbol:   variable style
  location: class R

To Reproduce

flutter build apk

The error persists regardless of the existence of themes.xml file.

Expected behavior

Should yield no error

Environment (please complete the following information):

  • platform: Android
  • dev environment: macOS
  • In-App Payments Plugin version: 1.7.9
@minkyn minkyn added the bug Something isn't working label Dec 5, 2024
@nishchalsangai
Copy link

I'm facing the same error, let me know if you got the solution.

@SSamratR SSamratR linked a pull request Jan 2, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants