Skip to content

Commit 92a181a

Browse files
authored
Apply suggestions from code review
1 parent 4d81a1b commit 92a181a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

hello-swift-java/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,12 @@ Once the `hashing-app` build completes, the newly generated Java code will be av
100100
> Most of these issues are temporary and will be resolved in the future as the swift-java project matures and automates more of the build steps.
101101

102102

103-
___
104103
### New Swift Code is not available in Java once Android build completes:
105104
If after adding new code to `SwiftHashing.swift` the same is not available on Android after a build, please delete the swift `.build` folder located at `hello-swift-java/hashing-lib/.build` (Attention to the dot before the folder name `.build`)
106105

107106
Build the Android `hashing-app` target again and the Swift API should be available in Java.
108107
If the code is still not available, the `swift-java` project might not support the specific Swift code. Please make sure the feature is listed as supported in the [Supported Features](https://swiftpackageindex.com/swiftlang/swift-java/main/documentation/swiftjavadocumentation/supportedfeatures#JExtract-calling-Swift-from-Java) documentation.
109108

110-
---
111109
#### Crash: Library not found
112110
If the code added to `SwiftHashing.swift` introduces a new library dependency, forexample `import Observation`, and the app crashes with the following error:\
113111
`Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libswiftObservation.so" not found`

0 commit comments

Comments
 (0)