Reference-Project | Example project in ASP.NET MVC using OSS libraries | Model View Controller library
kandi X-RAY | Reference-Project Summary
kandi X-RAY | Reference-Project Summary
Example project in ASP.NET MVC using OSS libraries
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Reference-Project
Reference-Project Key Features
Reference-Project Examples and Code Snippets
Community Discussions
Trending Discussions on Reference-Project
QUESTION
I faced a problem with unresolved references in automatically generated files after refactoring/tidying up my project.
What I do:
- Create new package
project/model
- Move existing
Account
fromproject/accoutDatabase
toproject/model
- Rebuild Project
- Receive Error in generated files:
Unresolved Reference : Account
These unresolved references are all located in the java.generated
folder and annotated with "Files under the 'build' folder are generated and should not be edited. The changes will be lost when sources are generated." Thus, manually replacing the reference is useless as the files will be newly generated when rebuilding the project.
ANSWER
Answered 2020-Oct-26 at 17:37Okay, I found the error source.
When moving a class.kt
into a new package package.class.kt
, Android Studio automatically changed import class.kt
into package.class.kt
in all kotlin files.
However, Android Studio did not adapt the usages in the .xml files. In my case, the moved class appeared as a safe-arg in the navigation-graph.
The solution was adapting the appearances in the .xml file - here nav_graph - manually.
i.e. manually change app:argType="class"
to app:argType="package.class"
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Reference-Project
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page