Comments (3)
Please be more descriptive in the errors you are receiving.
As mentioned multiple times, this is a proof of concept app that isn't being actively developed. GitHub is not a place for requesting builds for arbitrary platform version targets.
from pkhex.mobile.
Per the provided instructions we are to first from the Build menu select Clean Solution. I don't have that as an option. There are options for Clean All, or Clean PKHeX.mobile or Clean PKHex.Android, however. I just choose Clean All and proceed. From there, we're to Build->Rebuild All. Again, not an option at all. I can rebuild Solution, PKHeX.Android, or PKHeX.Mobile, but there's no Rebuild All.
What I've been assuming is there has been an update or something to visual studio, which is why the options don't exist for me. Or it could be since I'm on Mac it's different on my platform, so I've just been trying to clean and build PKHeX.Mobile since, idk, that's the master or parent folder? I'm not a developer so I'm doing the best I can with what I've got.
Anyway, cleaning goes fine, but when I rebuild I Build->Rebuild PKHeX.Mobile I'm hit with like 20 errors: Line 152 The variable 'ex' is declared but never used (CS0168) (PKHeX.Mobile). Line 0 Warning FodyPackageReference: Fody: The package reference for PropertyChanged.Fody does not contain PrivateAssets='All' (FodyPackageReference) and so on and so forth.
I just figured since Android is Android someone who knows what they're doing could just compile/build the thing and toss an apk online somewhere so dummies like me could mess around with it.
from pkhex.mobile.
Hi, chiming in here. I am not affiliated with this project but I do have extensive experience with .NET solutions.
Some of these errors are not actually build-breaking errors. .NET applications have Warnings and Errors for the msbuild
agent. This is what Visual Studio uses behind the scenes to build a csproj
application. More on that is here.
I was able to build PKHeX.Mobile
on a Macbook Pro M1 Max, 2021 laptop. Here are my duplication steps:
Install dependencies
- Manually install .NET Core 8 from here
- Execute the following commands in your terminal. Maintainer, it might be a good idea to make a github job that builds these. Or Azure if that is what you are using for CI/CD.
brew install mono
brew install mono-libgdiplus
Verify installs
Enter the following commands in a new terminal to verify the programs above have been configured correctly.
dotnet --version
git --version
mono --version
Project commands
I use VSCode, but any text editor and terminal tooling should work. Execute the following commands in any terminal.
git clone https://github.com/kwsch/PKHeX.Mobile.git
cd PKHeX.Mobile
dotnet clean
dotnet build
dotnet build -c Release
More on the dotnet build tool is available here.
Note that this outputs the "error" you mention:
warning CS0168: The variable 'ex' is declared but never used
Which if you read the output, is due to this: https://github.com/kwsch/PKHeX.Mobile/blob/master/PKHeX.Mobile/Logic/FileUtil.cs#L152
The ex
variable is never used, so either don't catch the Exception or log it to the console or logger library you are using, ie
Console.WriteLine(ex.Message)
I also see this warning:
warning FodyPackageReference: Fody: The package reference for PropertyChanged.Fody does not contain PrivateAssets='All
I have never saw that before, but google is your friend.
Either way, the build is successful.
Check PKHeX.Mobile/PKHeX.Mobile/bin/Release/netstandard2.1/PKHeX.Mobile.dll
for your program. This is a library, not an .exe file.
My build issues
To the project maintainer, I do get build issues for the ios
and Android
projects. Maybe I do not have something for those installed?
iOS
Duplication steps:
cd PKHeX.iOS
dotnet build
/PKHeX.Mobile/PKHeX.iOS/PKHeX.iOS.csproj(166,3): error MSB4019: The imported project "/usr/local/share/dotnet/sdk/8.0.300/Xamarin/iOS/Xamarin.iOS.CSharp.targets" was not found. Confirm that the expression in the Import declaration "/usr/local/share/dotnet/sdk/8.0.300//Xamarin/iOS/Xamarin.iOS.CSharp.targets" is correct, and that the file exists on disk.
Android
Duplication steps:
cd PKHeX.Android
dotnet build
PKHeX.Android/PKHeX.Android.csproj(140,3): error MSB4019: The imported project "/usr/local/share/dotnet/sdk/8.0.300/Xamarin/Android/Xamarin.Android.CSharp.targets" was not found. Confirm that the expression in the Import declaration "/usr/local/share/dotnet/sdk/8.0.300//Xamarin/Android/Xamarin.Android.CSharp.targets" is correct, and that the file exists on disk.
from pkhex.mobile.
Related Issues (20)
- Question
- How do I install it on IOSπ« HOT 1
- Legalize pokemon HOT 2
- Please HOT 1
- Bad checksum detected HOT 2
- Error transferring Pokemon from one generation's save to another's HOT 3
- How to download HOT 1
- Compiled version? HOT 3
- how to download it HOT 1
- PkHex
- please send apk file HOT 3
- You can't install the apk HOT 8
- Does not support GBA SAV files HOT 2
- Request: publish a new release with Android 13 compatability HOT 2
- No funciona en Android 13 HOT 1
- Commit has broken azure pipeline HOT 1
- doesn't work on android 9 HOT 1
- IVs Displaying error HOT 3
- Rebuild Solution HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkhex.mobile.